X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-pq;a=blobdiff_plain;f=tests%2Ftrans001.phpt;h=1dc97baff9d1fa1bbe8eb0be2c3758be8cb59e0d;hp=c22f2a95f3408f2434784c63545b209fdbfead1b;hb=83b4777e8aee1a30a29d41971b0f2b8315e6b501;hpb=c5e31d5d4f67df1d1b6ac95d36f5b0c38afc866d diff --git a/tests/trans001.phpt b/tests/trans001.phpt index c22f2a9..1dc97ba 100644 --- a/tests/trans001.phpt +++ b/tests/trans001.phpt @@ -9,7 +9,8 @@ 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->exec("SET client_min_messages TO NOTICE"); $c->on(pq\Connection::EVENT_NOTICE, function($c, $notice) { echo "Got notice: $notice\n"; });