X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-pq;a=blobdiff_plain;f=tests%2Fpersistent001.phpt;h=9f8fc0f7e84735c5fe7ef6197e6dae27e543563a;hp=781dfdeb93ba8631e6212b433ddec3e38451244b;hb=ec79f18c30c64021ff78b631f713a4b1b380fd86;hpb=3024b0b5a903a2bcb082b01e1787410dc9508a9d diff --git a/tests/persistent001.phpt b/tests/persistent001.phpt index 781dfde..9f8fc0f 100644 --- a/tests/persistent001.phpt +++ b/tests/persistent001.phpt @@ -16,7 +16,7 @@ for ($i=0; $i<100; ++$i) { $c->listen("chan", function($chan, $msg) { // dummy }); - $e = new pq\Event($c, pq\Event::RESULT, function($c, $res) { + $c->on(pq\Connection::EVENT_RESULT, function($c, $res) { }); }