fix doc links
[m6w6/ext-pq] / tests / async002.phpt
index 3dd80d18973f7787c45af35787a8a08dec81f2f7..4cc19c886dad204f3c724fd47f75c14478dd3ce8 100644 (file)
@@ -8,7 +8,7 @@ echo "Test\n";
 
 include "_setup.inc";
 
-$c = new pq\Connection(PQ_DSN, false);
+$c = new pq\Connection(PQ_DSN, true);
 
 function complete($c) {
        $s = array($c->status);
@@ -46,7 +46,7 @@ function complete($c) {
 complete($c);
 
 if ($c->status == pq\Connection::OK) {
-       $c->reset();
+       $c->resetAsync();
        complete($c);
 }
 ?>
@@ -54,7 +54,7 @@ DONE
 --EXPECTREGEX--
 Test
 (WP(RP)*)+S
-3(,\d+),+4
+(2,)*3(,\d)*,4
 (WP(RP)*)+S
-3(,\d+),+4
+(2,)*3(,\d)*,4
 DONE