From c7a7170e0e10256e8d205e5e6d991124fa07be4e Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Mon, 1 May 2017 07:58:48 -0700 Subject: [PATCH] fixed tests --- .../Tests/Debug/TraceableEventDispatcherTest.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Symfony/Component/EventDispatcher/Tests/Debug/TraceableEventDispatcherTest.php b/src/Symfony/Component/EventDispatcher/Tests/Debug/TraceableEventDispatcherTest.php index f19fb9fb87..9c1293125a 100644 --- a/src/Symfony/Component/EventDispatcher/Tests/Debug/TraceableEventDispatcherTest.php +++ b/src/Symfony/Component/EventDispatcher/Tests/Debug/TraceableEventDispatcherTest.php @@ -117,9 +117,6 @@ class TraceableEventDispatcherTest extends TestCase $tdispatcher = new TraceableEventDispatcher($dispatcher, $stopWatch); $listener = function () {}; - if ($isWrapped) { - $listener = new WrappedListener($listener, 'foo', $stopWatch, $dispatcher); - } $tdispatcher->addListener('foo', $listener, 5);