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 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";
 });