Skip to content

Commit

Permalink
Merge pull request #379 from bravo-kernel/test
Browse files Browse the repository at this point in the history
Remove dead test vars
  • Loading branch information
lorenzo committed Dec 29, 2015
2 parents 140f696 + 0eb1f45 commit 0e0150a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/TestCase/Controller/Component/CrudComponentTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -924,7 +924,6 @@ public function testAddListenerByNameAndClassName()
*/
public function testControllerWithEmptyUses()
{
$controller = new Controller(new Request());
$this->Crud = new CrudComponent($this->Registry, ['actions' => ['index']]);
$this->Crud->beforeFilter(new Event('Controller.beforeFilter'));
$this->controller->Crud = $this->Crud;
Expand Down Expand Up @@ -996,7 +995,6 @@ public function testUseModel()
'Tests still not updated.'
);

$controller = new Controller(new Request());
$this->Crud = new CrudComponent($this->Registry, ['actions' => ['index']]);
$this->Crud->beforeFilter(new Event('Controller.beforeFilter'));
$this->controller->Crud = $this->Crud;
Expand Down

0 comments on commit 0e0150a

Please sign in to comment.