projects
/
m6w6
/
ext-pq
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
now try something different
[m6w6/ext-pq]
/
tests
/
trans001.phpt
diff --git
a/tests/trans001.phpt
b/tests/trans001.phpt
index fc00a385c7be31acf028767cb25a0b21ddc8bc2a..1dc97baff9d1fa1bbe8eb0be2c3758be8cb59e0d 100644
(file)
--- 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 = 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";
});
$c->on(pq\Connection::EVENT_NOTICE, function($c, $notice) {
echo "Got notice: $notice\n";
});