type converters
[m6w6/ext-pq] / tests / types001.phpt
index 951bf1f540600c1e23b1f03ce40e6165e7873c2f..d5523da1864e4516425d88ecc9564a4728553090 100644 (file)
@@ -8,7 +8,7 @@ echo "Test\n";
 include "_setup.inc";
 
 $c = new pq\Connection(PQ_DSN);
 include "_setup.inc";
 
 $c = new pq\Connection(PQ_DSN);
-$t = new pq\Types($c);
+$t = new pq\Types($c, array("pg_catalog", "public"));
 var_dump($t->connection === $c);
 var_dump(isset($t["int4"]), empty($t["int4"]));
 var_dump(isset($t["whatthahell"]), empty($t["whatthahell"]));
 var_dump($t->connection === $c);
 var_dump(isset($t["int4"]), empty($t["int4"]));
 var_dump(isset($t["whatthahell"]), empty($t["whatthahell"]));