fixed tests
This commit is contained in:
parent
9c610ee1a2
commit
c7a7170e0e
@ -117,9 +117,6 @@ class TraceableEventDispatcherTest extends TestCase
|
|||||||
$tdispatcher = new TraceableEventDispatcher($dispatcher, $stopWatch);
|
$tdispatcher = new TraceableEventDispatcher($dispatcher, $stopWatch);
|
||||||
|
|
||||||
$listener = function () {};
|
$listener = function () {};
|
||||||
if ($isWrapped) {
|
|
||||||
$listener = new WrappedListener($listener, 'foo', $stopWatch, $dispatcher);
|
|
||||||
}
|
|
||||||
|
|
||||||
$tdispatcher->addListener('foo', $listener, 5);
|
$tdispatcher->addListener('foo', $listener, 5);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user