From 06dbabffb1d0cbae2a707968b2cd34a996d23171 Mon Sep 17 00:00:00 2001 From: David Flatz Date: Wed, 3 Feb 2016 18:12:16 +0100 Subject: make tests compatible to php 5.3 std --- tests/it_dbi.t | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/it_dbi.t') diff --git a/tests/it_dbi.t b/tests/it_dbi.t index c9e7d9d..ca39f1f 100755 --- a/tests/it_dbi.t +++ b/tests/it_dbi.t @@ -140,13 +140,13 @@ is( is( $record->update(array('x' => 18), array('x' => 17)), 1, - "return affected rows", + "return affected rows" ); is( $record->update(array('x' => 18), array('x' => 17)), 0, - "return zero affected rows", + "return zero affected rows" ); $record->update(array('-x' => 'POW(2,2) * 10')); @@ -166,14 +166,14 @@ is ( $record->update(array('foo' => NULL)); is ( - $record->_set('foo' => ""), + $record->_set(array('foo' => "")), "SET `foo`=''", 'update: _set optimization with NULL => ""' ); $record->update(array('foo' => "bar")); $record->update(array('foo' => "")); is ( - $record->_set('foo' => NULL), + $record->_set(array('foo' => NULL)), "SET `foo`=NULL", 'update: _set optimization with "" => NULL' ); -- cgit v1.2.3