summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/it_dbi.t6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/it_dbi.t b/tests/it_dbi.t
index e988fa8..c9e7d9d 100755
--- a/tests/it_dbi.t
+++ b/tests/it_dbi.t
@@ -149,10 +149,10 @@ is(
"return zero affected rows",
);
-$record->update(array('-x' => 'RAND() * 10'));
-isnt(
+$record->update(array('-x' => 'POW(2,2) * 10'));
+is(
array($record->_key, $record->x, $record->foo),
- array(3, 17, "q'uux"),
+ array(3, 40, "q'uux"),
"update with function"
);