Skip to content

Commit

Permalink
Adding fixtures to fix errors in schema shell test case.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Feb 28, 2010
1 parent 4256cbc commit a6efda6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cake/tests/cases/console/libs/schema.test.php
Expand Up @@ -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
Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit a6efda6

Please sign in to comment.