prepare v2.2.3
[m6w6/ext-pq] / tests / trans002.phpt
index d65cde5c60f15e62aa07a11b30359b75d84a570e..31c29567c428030168bbf136e4ba369c57f497cd 100644 (file)
@@ -10,7 +10,6 @@ include "_setup.inc";
 
 $t = new pq\Transaction(new pq\Connection(PQ_DSN));
 var_dump(
-       $t->connection,
        $t->isolation,
        $t->readonly,
        $t->deferrable
@@ -20,7 +19,6 @@ $t->isolation = pq\Transaction::SERIALIZABLE;
 $t->readonly = true;
 $t->deferrable = true;
 var_dump(
-       $t->connection,
        $t->isolation,
        $t->readonly,
        $t->deferrable
@@ -29,87 +27,9 @@ var_dump(
 DONE
 --EXPECTF--
 Test
-object(pq\Connection)#%d (18) {
-  ["status"]=>
-  int(0)
-  ["transactionStatus"]=>
-  int(2)
-  ["socket"]=>
-  resource(%d) of type (stream)
-  ["errorMessage"]=>
-  string(0) ""
-  ["busy"]=>
-  bool(false)
-  ["encoding"]=>
-  string(4) "%s"
-  ["unbuffered"]=>
-  bool(false)
-  ["db"]=>
-  string(4) "%S"
-  ["user"]=>
-  string(4) "%S"
-  ["pass"]=>
-  string(0) "%S"
-  ["host"]=>
-  string(0) "%S"
-  ["port"]=>
-  string(4) "%S"
-  ["options"]=>
-  string(0) "%S"
-  ["eventHandlers"]=>
-  array(0) {
-  }
-  ["defaultFetchType"]=>
-  int(0)
-  ["defaultTransactionIsolation"]=>
-  int(0)
-  ["defaultTransactionReadonly"]=>
-  bool(false)
-  ["defaultTransactionDeferrable"]=>
-  bool(false)
-}
 int(0)
 bool(false)
 bool(false)
-object(pq\Connection)#%d (18) {
-  ["status"]=>
-  int(0)
-  ["transactionStatus"]=>
-  int(2)
-  ["socket"]=>
-  resource(%d) of type (stream)
-  ["errorMessage"]=>
-  string(0) ""
-  ["busy"]=>
-  bool(false)
-  ["encoding"]=>
-  string(4) "%s"
-  ["unbuffered"]=>
-  bool(false)
-  ["db"]=>
-  string(4) "%S"
-  ["user"]=>
-  string(4) "%S"
-  ["pass"]=>
-  string(0) "%S"
-  ["host"]=>
-  string(0) "%S"
-  ["port"]=>
-  string(4) "%S"
-  ["options"]=>
-  string(0) "%S"
-  ["eventHandlers"]=>
-  array(0) {
-  }
-  ["defaultFetchType"]=>
-  int(0)
-  ["defaultTransactionIsolation"]=>
-  int(0)
-  ["defaultTransactionReadonly"]=>
-  bool(false)
-  ["defaultTransactionDeferrable"]=>
-  bool(false)
-}
 int(2)
 bool(true)
 bool(true)