mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
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:
parent
23c37efc71
commit
d01f0e9f67
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue