Adding fixtures to fix errors in schema shell test case.

This commit is contained in:
Mark Story 2010-02-28 12:38:49 -05:00
parent 4256cbc6f8
commit a6efda66b8

View file

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