projects
/
m6w6
/
ext-pq
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
fix leaks on property read
[m6w6/ext-pq]
/
tests
/
trans001.phpt
diff --git
a/tests/trans001.phpt
b/tests/trans001.phpt
index c22f2a95f3408f2434784c63545b209fdbfead1b..1dc97baff9d1fa1bbe8eb0be2c3758be8cb59e0d 100644
(file)
--- a/
tests/trans001.phpt
+++ b/
tests/trans001.phpt
@@
-9,7
+9,8
@@
echo "Test\n";
include "_setup.inc";
$c = new pq\Connection(PQ_DSN);
include "_setup.inc";
$c = new pq\Connection(PQ_DSN);
-$c->exec("DROP TABLE IF EXISTS test");
+$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";
});