From 3370b25f14994f4c2b8530b60b0d06494ef2fb5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Lorenzo=20Rodr=C3=ADguez?= Date: Fri, 3 Dec 2010 14:07:46 -0430 Subject: [PATCH] Fixing a couple more tests --- cake/tests/cases/console/shells/bake.test.php | 3 +-- cake/tests/cases/console/shells/schema.test.php | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cake/tests/cases/console/shells/bake.test.php b/cake/tests/cases/console/shells/bake.test.php index fc5e79163..cb254a8b3 100644 --- a/cake/tests/cases/console/shells/bake.test.php +++ b/cake/tests/cases/console/shells/bake.test.php @@ -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('Bake All complete'); $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'); diff --git a/cake/tests/cases/console/shells/schema.test.php b/cake/tests/cases/console/shells/schema.test.php index 2c79d2ee7..6a7a619a1 100644 --- a/cake/tests/cases/console/shells/schema.test.php +++ b/cake/tests/cases/console/shells/schema.test.php @@ -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'