Browse Source

Removing deprecated event test code

Florian Krämer 8 years ago
parent
commit
e1e045810e
1 changed files with 0 additions and 15 deletions
  1. 0 15
      tests/TestCase/Console/CommandRunnerTest.php

+ 0 - 15
tests/TestCase/Console/CommandRunnerTest.php

@@ -100,21 +100,6 @@ class CommandRunnerTest extends TestCase
     }
 
     /**
-     * test deprecated method defined in interface
-     *
-     * @return void
-     */
-    public function testEventManagerCompat()
-    {
-        $this->deprecated(function () {
-            $app = $this->createMock(ConsoleApplicationInterface::class);
-
-            $runner = new CommandRunner($app);
-            $this->assertSame(EventManager::instance(), $runner->getEventManager());
-        });
-    }
-
-    /**
      * Test that the console hook not returning a command collection
      * raises an error.
      *