Fixing SchemaShell test, was failing due to a model in the test_app changing.

This commit is contained in:
Mark Story 2010-03-14 13:06:22 -04:00
parent 49c60658b9
commit 78f347afd7

View file

@ -121,7 +121,9 @@ class SchemaShellTest extends CakeTestCase {
* @var array * @var array
* @access public * @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 * startTest method
@ -369,7 +371,7 @@ class SchemaShellTest extends CakeTestCase {
$this->assertPattern('/var \$posts/', $contents); $this->assertPattern('/var \$posts/', $contents);
$this->assertPattern('/var \$auth_users/', $contents); $this->assertPattern('/var \$auth_users/', $contents);
$this->assertPattern('/var \$authors/', $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 \$users/', $contents);
$this->assertNoPattern('/var \$articles/', $contents); $this->assertNoPattern('/var \$articles/', $contents);