summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChristian Schneider2008-04-06 19:48:51 +0000
committerChristian Schneider2008-04-06 19:48:51 +0000
commit673d81f2d40dcc09c716c25f7e71ddc46e97060f (patch)
treeb2c9073f29a7d2848e5f4603bfdb96262ccc79d0 /tests
parent66eb60ccf927e04a4a5bfb9a04d219b5d7b5a3a8 (diff)
downloaditools-673d81f2d40dcc09c716c25f7e71ddc46e97060f.tar.gz
itools-673d81f2d40dcc09c716c25f7e71ddc46e97060f.tar.bz2
itools-673d81f2d40dcc09c716c25f7e71ddc46e97060f.zip
Fixed bogus conversion of NULL to 0 for integer fields
Diffstat (limited to 'tests')
-rwxr-xr-xtests/it_dbi.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/it_dbi.t b/tests/it_dbi.t
index afffbae..63c7413 100755
--- a/tests/it_dbi.t
+++ b/tests/it_dbi.t
@@ -106,8 +106,8 @@ $record->update(array('foo' => "quux"));
$record->read(2);
is(
- array($record->_key, $record->x, $record->foo),
- array(2, null, "qux"),
+ array($record->_key, isset($record->x), $record->foo),
+ array(2, false, "qux"),
"iterate update record 2"
);