X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=tests%2Ftrans001.phpt;h=42e8f9eb946ba15b088f06117d6d0ae533738344;hb=c3b02a2567ab77ec4fb829d3dac6437afdcbc76e;hp=c22f2a95f3408f2434784c63545b209fdbfead1b;hpb=c5e31d5d4f67df1d1b6ac95d36f5b0c38afc866d;p=m6w6%2Fext-pq diff --git a/tests/trans001.phpt b/tests/trans001.phpt index c22f2a9..42e8f9e 100644 --- a/tests/trans001.phpt +++ b/tests/trans001.phpt @@ -9,7 +9,9 @@ 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->exec("SET lc_messages TO 'C'"); $c->on(pq\Connection::EVENT_NOTICE, function($c, $notice) { echo "Got notice: $notice\n"; });