Grabbing the first available config defined in connection manager as a default for baking. Fixing a couple of failing test cases

This commit is contained in:
Jose Lorenzo Rodriguez 2011-10-03 11:54:40 -04:30
parent 84f805419d
commit d08f916179
3 changed files with 10 additions and 12 deletions

View file

@ -543,7 +543,7 @@ class TestTaskTest extends CakeTestCase {
CakePlugin::load('TestPlugin');
$this->Task->plugin = 'TestPlugin';
$path = $testApp . 'TestPlugin' . DS . 'Test' . DS . 'Case' . DS . 'View' . DS . 'Helper' . DS . 'OtherHelperHelperTest.php';
$path = $testApp . 'TestPlugin' . DS . 'Test' . DS . 'Case' . DS . 'View' . DS . 'Helper' . DS . 'OtherHelperTest.php';
$this->Task->expects($this->any())
->method('in')
->will($this->onConsecutiveCalls(