mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 11:06:15 +00:00
Fix scaffold test on console, replaced 'var' with 'public'.
This commit is contained in:
parent
14280d6b5f
commit
75c741f5a6
1 changed files with 1 additions and 1 deletions
|
@ -259,7 +259,7 @@ class ControllerTaskTest extends CakeTestCase {
|
||||||
|
|
||||||
$result = $this->Task->bake('Articles', 'scaffold', $helpers, $components);
|
$result = $this->Task->bake('Articles', 'scaffold', $helpers, $components);
|
||||||
$this->assertPattern('/class ArticlesController extends AppController/', $result);
|
$this->assertPattern('/class ArticlesController extends AppController/', $result);
|
||||||
$this->assertPattern('/var \$scaffold/', $result);
|
$this->assertPattern('/public \$scaffold/', $result);
|
||||||
$this->assertNoPattern('/helpers/', $result);
|
$this->assertNoPattern('/helpers/', $result);
|
||||||
$this->assertNoPattern('/components/', $result);
|
$this->assertNoPattern('/components/', $result);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue