X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-pq;a=blobdiff_plain;f=tests%2Fasync002.phpt;h=12b1be4de414b4f3b575a9a90f9dc27003f98ab0;hp=3dd80d18973f7787c45af35787a8a08dec81f2f7;hb=ec79f18c30c64021ff78b631f713a4b1b380fd86;hpb=33f82236a1e9061aba8050399835e82e0531c82b diff --git a/tests/async002.phpt b/tests/async002.phpt index 3dd80d1..12b1be4 100644 --- a/tests/async002.phpt +++ b/tests/async002.phpt @@ -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); } ?>