projects
/
m6w6
/
ext-pq
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
tests & fixes
[m6w6/ext-pq]
/
tests
/
reset001.phpt
diff --git
a/tests/reset001.phpt
b/tests/reset001.phpt
index 359b1a84c49f62cea63841e281af298f3b277c1a..9527ccbcd5ab6548f04b6124ad8d77e209f1cc85 100644
(file)
--- a/
tests/reset001.phpt
+++ b/
tests/reset001.phpt
@@
-11,6
+11,7
@@
include "_setup.inc";
$c = new pq\Connection(PQ_DSN);
$c->reset();
var_dump($c->status);
+new pq\Event($c, pq\Event::RESET, function ($c) { print "RESET!\n"; });
$c->reset();
var_dump($c->status);
@@
-19,5
+20,6
@@
DONE
--EXPECT--
Test
int(0)
+RESET!
int(0)
DONE