Skip to content

Commit

Permalink
Fix scaffold test on console, replaced 'var' with 'public'.
Browse files Browse the repository at this point in the history
  • Loading branch information
predominant committed Apr 9, 2010
1 parent 14280d6 commit 75c741f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cake/tests/cases/console/libs/tasks/controller.test.php
Expand Up @@ -259,7 +259,7 @@ public function testBake() {

$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);

Expand Down

0 comments on commit 75c741f

Please sign in to comment.