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