From e1b86433bd546df30808d89489707de7c50794b7 Mon Sep 17 00:00:00 2001 From: Chris Wright Date: Sun, 14 Dec 2014 14:37:03 +0000 Subject: [PATCH] Ensure server will report notices when test expects them --- tests/trans001.phpt | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/trans001.phpt b/tests/trans001.phpt index fc00a38..1dc97ba 100644 --- a/tests/trans001.phpt +++ b/tests/trans001.phpt @@ -10,6 +10,7 @@ include "_setup.inc"; $c = new pq\Connection(PQ_DSN); $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"; }); -- 2.30.2