mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Adding fixtures to fix errors in schema shell test case.
This commit is contained in:
parent
4256cbc6f8
commit
a6efda66b8
1 changed files with 3 additions and 1 deletions
|
@ -121,7 +121,7 @@ class SchemaShellTest extends CakeTestCase {
|
|||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
var $fixtures = array('core.article', 'core.user', 'core.post', 'core.auth_user');
|
||||
var $fixtures = array('core.article', 'core.user', 'core.post', 'core.auth_user', 'core.author', 'core.comment');
|
||||
|
||||
/**
|
||||
* startTest method
|
||||
|
@ -368,6 +368,8 @@ 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->assertNoPattern('/var \$users/', $contents);
|
||||
$this->assertNoPattern('/var \$articles/', $contents);
|
||||
|
||||
|
|
Loading…
Reference in a new issue