tests: set lc_messages to C for tests checking errors
[m6w6/ext-pq] / tests / trans001.phpt
index fc00a385c7be31acf028767cb25a0b21ddc8bc2a..42e8f9eb946ba15b088f06117d6d0ae533738344 100644 (file)
@@ -10,6 +10,8 @@ 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->exec("SET lc_messages TO 'C'");
 $c->on(pq\Connection::EVENT_NOTICE, function($c, $notice) {
        echo "Got notice: $notice\n";
 });