Permalink
Browse files

correct tests to match desired behavior

by default we don't want fixtures pulled in from a different scope than
that of the test being baked
  • Loading branch information...
1 parent 23c37ef commit d01f0e9f67d0deb1ff7135dd586e3d6be7f25d2c @AD7six AD7six committed Jun 14, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Cake/Test/Case/Console/Command/Task/TestTaskTest.php
@@ -449,7 +449,7 @@ public function testBakeModelTest() {
$this->assertContains('function testDoSomethingElse()', $result);
$this->assertContains("'app.test_task_article'", $result);
- $this->assertContains("'plugin.test_task.test_task_comment'", $result);
+ $this->assertContains("'app.test_task_comment'", $result);
$this->assertContains("'app.test_task_tag'", $result);
$this->assertContains("'app.articles_tag'", $result);
}
@@ -476,7 +476,7 @@ public function testBakeControllerTest() {
$this->assertNotContains('unset($this->TestTaskComments)', $result);
$this->assertContains("'app.test_task_article'", $result);
- $this->assertContains("'plugin.test_task.test_task_comment'", $result);
+ $this->assertContains("'app.test_task_comment'", $result);
$this->assertContains("'app.test_task_tag'", $result);
$this->assertContains("'app.articles_tag'", $result);
}

0 comments on commit d01f0e9

Please sign in to comment.