From d01f0e9f67d0deb1ff7135dd586e3d6be7f25d2c Mon Sep 17 00:00:00 2001 From: AD7six Date: Thu, 14 Jun 2012 13:38:17 +0200 Subject: [PATCH] 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 --- lib/Cake/Test/Case/Console/Command/Task/TestTaskTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Cake/Test/Case/Console/Command/Task/TestTaskTest.php b/lib/Cake/Test/Case/Console/Command/Task/TestTaskTest.php index 88422e206..6806af826 100644 --- a/lib/Cake/Test/Case/Console/Command/Task/TestTaskTest.php +++ b/lib/Cake/Test/Case/Console/Command/Task/TestTaskTest.php @@ -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); }