Permalink
Browse files

Fixing SchemaShell test, was failing due to a model in the test_app c…

…hanging.
  • Loading branch information...
1 parent 49c6065 commit 78f347afd781c4474d1351316d6f0325a58db941 @markstory markstory committed Mar 14, 2010
Showing with 4 additions and 2 deletions.
  1. +4 −2 cake/tests/cases/console/libs/schema.test.php
@@ -121,7 +121,9 @@ class SchemaShellTest extends CakeTestCase {
* @var array
* @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
@@ -369,7 +371,7 @@ function testGenerateWithPlugins() {
$this->assertPattern('/var \$posts/', $contents);
$this->assertPattern('/var \$auth_users/', $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 \$articles/', $contents);

0 comments on commit 78f347a

Please sign in to comment.