Skip to content
Permalink
Browse files

Fix failing test.

  • Loading branch information...
markstory committed Jul 25, 2013
1 parent 117aa46 commit 53674f9f091e2b6c71c01ee151b7c8f9db22444e
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Cake/Test/TestCase/Console/Command/Task/TestTaskTest.php
@@ -454,8 +454,8 @@ public function testBakeComponentTest() {
$this->assertContains('class ExampleComponentTest extends TestCase', $result);
$this->assertContains('function setUp()', $result);
$this->assertContains("\$Collection = new ComponentRegistry()", $result);
$this->assertContains("\$this->Example = new ExampleComponent(\$Collection)", $result);
$this->assertContains("\$registry = new ComponentRegistry()", $result);
$this->assertContains("\$this->Example = new ExampleComponent(\$registry)", $result);
$this->assertContains('function tearDown()', $result);
$this->assertContains('unset($this->Example)', $result);

0 comments on commit 53674f9

Please sign in to comment.
You can’t perform that action at this time.