Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Adding fixtures to fix errors in schema shell test case.

  • Loading branch information...
commit a6efda66b81b2db75e4bbe0793ab41b2b3ee5533 1 parent 4256cbc
@markstory markstory authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 cake/tests/cases/console/libs/schema.test.php
View
4 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);
Please sign in to comment.
Something went wrong with that request. Please try again.