diff --git a/lib/Cake/Test/Case/TestSuite/CakeTestCaseTest.php b/lib/Cake/Test/Case/TestSuite/CakeTestCaseTest.php index fde9eae11..43b9391c1 100644 --- a/lib/Cake/Test/Case/TestSuite/CakeTestCaseTest.php +++ b/lib/Cake/Test/Case/TestSuite/CakeTestCaseTest.php @@ -445,7 +445,8 @@ class CakeTestCaseTest extends CakeTestCase { ), App::RESET); CakePlugin::load('TestPlugin'); ConnectionManager::create('test_secondary', array( - 'datasource' => 'Database/TestLocalDriver' + 'datasource' => 'Database/TestLocalDriver', + 'prefix' => '' )); $post = $this->getMockForModel('SecondaryPost', array('save')); $this->assertEquals('test_secondary', $post->useDbConfig);