mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Fixing SchemaShell test, was failing due to a model in the test_app changing.
This commit is contained in:
parent
49c60658b9
commit
78f347afd7
1 changed files with 4 additions and 2 deletions
|
@ -121,7 +121,9 @@ class SchemaShellTest extends CakeTestCase {
|
|||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
var $fixtures = array('core.article', 'core.user', 'core.post', 'core.auth_user', 'core.author', 'core.comment');
|
||||
var $fixtures = array('core.article', 'core.user', 'core.post', 'core.auth_user', 'core.author',
|
||||
'core.comment', 'core.test_plugin_comment'
|
||||
);
|
||||
|
||||
/**
|
||||
* startTest method
|
||||
|
@ -369,7 +371,7 @@ class SchemaShellTest extends CakeTestCase {
|
|||
$this->assertPattern('/var \$posts/', $contents);
|
||||
$this->assertPattern('/var \$auth_users/', $contents);
|
||||
$this->assertPattern('/var \$authors/', $contents);
|
||||
$this->assertPattern('/var \$comments/', $contents);
|
||||
$this->assertPattern('/var \$test_plugin_comments/', $contents);
|
||||
$this->assertNoPattern('/var \$users/', $contents);
|
||||
$this->assertNoPattern('/var \$articles/', $contents);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue