diff options
author | Urban Müller | 2014-02-05 11:21:31 +0100 |
---|---|---|
committer | Urban Müller | 2014-02-05 11:21:31 +0100 |
commit | e84ed0c7e66a69b7bc4acd4015a38223a165d71c (patch) | |
tree | 7d32f382117f943dee2e48752d4138a7b2261d4e /tests/it_dbi.t | |
parent | cc99031f89d6aafe0944f6265e91c128f8ebe194 (diff) | |
download | itools-e84ed0c7e66a69b7bc4acd4015a38223a165d71c.tar.gz itools-e84ed0c7e66a69b7bc4acd4015a38223a165d71c.tar.bz2 itools-e84ed0c7e66a69b7bc4acd4015a38223a165d71c.zip |
use replication safe statements
Diffstat (limited to 'tests/it_dbi.t')
-rwxr-xr-x | tests/it_dbi.t | 6 |
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" ); |