Browse Source

Fix test.

Mark Scherer 11 years ago
parent
commit
93c878b126
1 changed files with 0 additions and 2 deletions
  1. 0 2
      tests/TestCase/Controller/Component/ComponentTest.php

+ 0 - 2
tests/TestCase/Controller/Component/ComponentTest.php

@@ -30,8 +30,6 @@ class ComponentTest extends TestCase {
  */
 	public function testBeforeFilter() {
 		$Component = new Component($this->ComponentRegistry);
-		$event = new Event('Controller.startup', $this->Controller);
-		$Component->beforeFilter($event);
 
 		$this->assertInstanceOf('Cake\Controller\Controller', $Component->Controller);
 	}