Commit f396ee22 authored by Nigel Kukard's avatar Nigel Kukard

CI: Added DB delete helper to tests

parent 0dcb75d1
......@@ -801,6 +801,22 @@ sub testDBInsert
# Function to quickly and easily delete data from the DB
sub testDBDelete
{
my ($name,@params) = @_;
# Do the work...
DBDo(@params);
# Make sure we got no error
is(AWITPT::DB::DBLayer::error(),"",$name);
return 1;
}
# Test DB select results
sub testDBResults
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment