projects
/
m6w6
/
ext-pq
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
0e66a82
)
Ensure server will report notices when test expects them
author
Chris Wright
<daverandom@php.net>
Sun, 14 Dec 2014 14:37:03 +0000
(14:37 +0000)
committer
Chris Wright
<daverandom@php.net>
Mon, 15 Dec 2014 12:35:30 +0000
(12:35 +0000)
tests/trans001.phpt
patch
|
blob
|
history
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->exec("SET client_min_messages TO NOTICE");
$c->on(pq\Connection::EVENT_NOTICE, function($c, $notice) {
echo "Got notice: $notice\n";
});