fix test
authorMichael Wallner <mike@php.net>
Tue, 30 Sep 2014 18:44:46 +0000 (20:44 +0200)
committerMichael Wallner <mike@php.net>
Tue, 30 Sep 2014 18:44:46 +0000 (20:44 +0200)
tests/trans001.phpt

index c22f2a9..fc00a38 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";
 });