Skip to content
Permalink
Browse files

Adding fixtures to fix errors in schema shell test case.

  • Loading branch information...
markstory committed Feb 28, 2010
1 parent 4256cbc commit a6efda66b81b2db75e4bbe0793ab41b2b3ee5533
Showing with 3 additions and 1 deletion.
  1. +3 −1 cake/tests/cases/console/libs/schema.test.php
@@ -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 @@ function testGenerateWithPlugins() {
$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);

0 comments on commit a6efda6

Please sign in to comment.
You can’t perform that action at this time.