mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
test modified getMockForModelSecondaryDatasource
This commit is contained in:
parent
722a2b3286
commit
0e4a1d76ab
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue