summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest/it_dbi.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/it_dbi.t b/test/it_dbi.t
index 42a230c..ca5b537 100755
--- a/test/it_dbi.t
+++ b/test/it_dbi.t
@@ -425,7 +425,7 @@ is($record->delete_untouched([ 'ID >' => 2 ]), [], 'delete_untouched with query'
is(allrecs(), '[{"ID":1,"foo":"A"},{"ID":2,"foo":"B"},{"ID":3,"foo":"c"}]', 'data after delete_untouched with query');
$record->upsert(['ID' => 3, 'foo' => "C"]);
-is($record->delete_untouched(), [1, 2], 'delete_untouched with query');
+is(it::sort($record->delete_untouched()), [1, 2], 'delete_untouched with query');
is(allrecs(), '[{"ID":3,"foo":"C"}]', 'data after delete_untouched with query');
$record->replace(['ID' => 4, 'foo' => "C"]);