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
This commit is contained in:
AD7six 2012-06-14 13:38:17 +02:00
parent 23c37efc71
commit d01f0e9f67

View file

@ -449,7 +449,7 @@ class TestTaskTest extends CakeTestCase {
$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 @@ class TestTaskTest extends CakeTestCase {
$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);
}