mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fixing a couple more tests
This commit is contained in:
parent
32af53ab82
commit
3370b25f14
2 changed files with 2 additions and 2 deletions
|
@ -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');
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue