From 75c741f5a61aa17794bc5f93bcfcb9b270b44ed4 Mon Sep 17 00:00:00 2001 From: predominant Date: Fri, 9 Apr 2010 22:55:43 +1000 Subject: [PATCH] Fix scaffold test on console, replaced 'var' with 'public'. --- cake/tests/cases/console/libs/tasks/controller.test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cake/tests/cases/console/libs/tasks/controller.test.php b/cake/tests/cases/console/libs/tasks/controller.test.php index cdd10dcef..2cd0d9892 100644 --- a/cake/tests/cases/console/libs/tasks/controller.test.php +++ b/cake/tests/cases/console/libs/tasks/controller.test.php @@ -259,7 +259,7 @@ class ControllerTaskTest extends CakeTestCase { $result = $this->Task->bake('Articles', 'scaffold', $helpers, $components); $this->assertPattern('/class ArticlesController extends AppController/', $result); - $this->assertPattern('/var \$scaffold/', $result); + $this->assertPattern('/public \$scaffold/', $result); $this->assertNoPattern('/helpers/', $result); $this->assertNoPattern('/components/', $result);