half way through the exception refactoring
[m6w6/ext-pq] / tests / async003.phpt
index bb242fe41849fad0c8e6217d1c8c159231655649..20b08b907b7f91582565fe2ac6c3e8acf16e9459 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-async query
+async exec
 --SKIPIF--
 <?php include "_skipif.inc"; ?>
 --FILE--
@@ -26,9 +26,11 @@ do {
 DONE
 --EXPECTF--
 Test
-object(pq\Result)#%d (6) {
+object(pq\Result)#%d (7) {
   ["status"]=>
   int(2)
+  ["statusMessage"]=>
+  string(9) "TUPLES_OK"
   ["errorMessage"]=>
   string(0) ""
   ["numRows"]=>
@@ -40,9 +42,11 @@ object(pq\Result)#%d (6) {
   ["fetchType"]=>
   int(0)
 }
-object(pq\Result)#%d (6) {
+object(pq\Result)#%d (7) {
   ["status"]=>
   int(2)
+  ["statusMessage"]=>
+  string(9) "TUPLES_OK"
   ["errorMessage"]=>
   string(0) ""
   ["numRows"]=>
@@ -54,4 +58,4 @@ object(pq\Result)#%d (6) {
   ["fetchType"]=>
   int(0)
 }
-DONE
\ No newline at end of file
+DONE