diff options
| author | David Flatz | 2016-02-03 18:12:16 +0100 | 
|---|---|---|
| committer | David Flatz | 2016-02-03 18:25:21 +0100 | 
| commit | 06dbabffb1d0cbae2a707968b2cd34a996d23171 (patch) | |
| tree | 374a9c8b9e9535dd228da4a2d8b2e874241b46b6 /tests/it_dbi.t | |
| parent | eb55ac5cea8ad3720505645600e6d854d737603a (diff) | |
| download | itools-06dbabffb1d0cbae2a707968b2cd34a996d23171.tar.gz itools-06dbabffb1d0cbae2a707968b2cd34a996d23171.tar.bz2 itools-06dbabffb1d0cbae2a707968b2cd34a996d23171.zip  | |
make tests compatible to php 5.3 std
Diffstat (limited to 'tests/it_dbi.t')
| -rwxr-xr-x | tests/it_dbi.t | 8 | 
1 files changed, 4 insertions, 4 deletions
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'  );  |