Skip to content

Commit

Permalink
Fixing a couple more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Dec 3, 2010
1 parent 32af53a commit 3370b25
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions cake/tests/cases/console/shells/bake.test.php
Expand Up @@ -96,9 +96,8 @@ public function testAllWithModelName() {

$this->Shell->expects($this->at(1))->method('out')->with('Bake All');
$this->Shell->expects($this->at(3))->method('out')->with('User Model was baked.');
$this->Shell->expects($this->at(5))->method('out')->with('User Controller was baked.');
$this->Shell->expects($this->at(5))->method('out')->with('<success>Bake All complete</success>');
$this->Shell->expects($this->at(7))->method('out')->with('User Views were baked.');
$this->Shell->expects($this->at(8))->method('out')->with('Bake All complete');

$this->Shell->params = array();
$this->Shell->args = array('User');
Expand Down
1 change: 1 addition & 0 deletions cake/tests/cases/console/shells/schema.test.php
Expand Up @@ -339,6 +339,7 @@ public function testGenerateWithPlugins() {
), true);
App::objects('plugin', null, false);

$this->db->cacheSources = false;
$this->Shell->params = array(
'plugin' => 'TestPlugin',
'connection' => 'test'
Expand Down

0 comments on commit 3370b25

Please sign in to comment.