Fixing a couple more tests

This commit is contained in:
José Lorenzo Rodríguez 2010-12-03 14:07:46 -04:30
parent 32af53ab82
commit 3370b25f14
2 changed files with 2 additions and 2 deletions

View file

@ -96,9 +96,8 @@ class BakeShellTest extends CakeTestCase {
$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');

View file

@ -339,6 +339,7 @@ class SchemaShellTest extends CakeTestCase {
), true);
App::objects('plugin', null, false);
$this->db->cacheSources = false;
$this->Shell->params = array(
'plugin' => 'TestPlugin',
'connection' => 'test'