fix test
authorMichael Wallner <mike@php.net>
Tue, 12 Feb 2013 20:40:31 +0000 (21:40 +0100)
committerMichael Wallner <mike@php.net>
Tue, 12 Feb 2013 20:40:31 +0000 (21:40 +0100)
tests/reset001.phpt

index f83e042a875292d2c018c0c0d021db4a5a35053c..359b1a84c49f62cea63841e281af298f3b277c1a 100644 (file)
@@ -9,13 +9,15 @@ echo "Test\n";
 include "_setup.inc";
 
 $c = new pq\Connection(PQ_DSN);
-var_dump($c->reset());
-var_dump($c->reset());
+$c->reset();
+var_dump($c->status);
+$c->reset();
+var_dump($c->status);
 
 ?>
 DONE
 --EXPECT--
 Test
-bool(true)
-bool(true)
+int(0)
+int(0)
 DONE