moar tests
[m6w6/ext-pq] / tests / lob001.phpt
index 7f91f645788215e6cc0ed1e75bea9c32eac2a325..990d6f02a774e7df01f94afa845ce6e4985e35d9 100644 (file)
@@ -12,6 +12,9 @@ $c = new pq\Connection(PQ_DSN);
 $t = $c->startTransaction();
 
 $lob = $t->createLOB();
+
+var_dump($lob->transaction === $t);
+
 $lob->write(file_get_contents(__FILE__));
 var_dump($lob->tell());
 
@@ -31,7 +34,8 @@ $t->unlinkLOB($lob->oid);
 DONE
 --EXPECTF--
 Test
-int(451)
+bool(true)
+int(489)
 bool(true)
 string(5) "%c?php"
 DONE