From ed02b0f54beef361c6c69bbd5a409ca656f27a29 Mon Sep 17 00:00:00 2001 From: predominant <graham@grahamweldon.com> Date: Sun, 11 Apr 2010 09:40:54 +1000 Subject: [PATCH] Fixing access modifier test on Test task. --- cake/tests/cases/console/libs/tasks/test.test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cake/tests/cases/console/libs/tasks/test.test.php b/cake/tests/cases/console/libs/tasks/test.test.php index fb190e909..41adf48cb 100644 --- a/cake/tests/cases/console/libs/tasks/test.test.php +++ b/cake/tests/cases/console/libs/tasks/test.test.php @@ -482,7 +482,7 @@ class TestTaskTest extends CakeTestCase { $this->assertPattern('/class TestTaskCommentsControllerTestCase extends CakeTestCase/', $result); $this->assertPattern('/class TestTestTaskCommentsController extends TestTaskCommentsController/', $result); - $this->assertPattern('/var \$autoRender = false/', $result); + $this->assertPattern('/public \$autoRender = false/', $result); $this->assertPattern('/function redirect\(\$url, \$status = null, \$exit = true\)/', $result); $this->assertPattern('/function startTest\(\)/', $result);