fix test
[m6w6/ext-pq] / tests / trans001.phpt
index c22f2a95f3408f2434784c63545b209fdbfead1b..fc00a385c7be31acf028767cb25a0b21ddc8bc2a 100644 (file)
@@ -9,7 +9,7 @@ echo "Test\n";
 include "_setup.inc";
 
 $c = new pq\Connection(PQ_DSN);
-$c->exec("DROP TABLE IF EXISTS test");
+$c->exec("DROP TABLE IF EXISTS test CASCADE");
 $c->on(pq\Connection::EVENT_NOTICE, function($c, $notice) {
        echo "Got notice: $notice\n";
 });