mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Avoiding the use of default connection in schema shell tests
This commit is contained in:
parent
b320e4323f
commit
aca592ad93
1 changed files with 1 additions and 0 deletions
|
@ -213,6 +213,7 @@ class SchemaShellTest extends CakeTestCase {
|
||||||
public function testDumpWithFileWriting() {
|
public function testDumpWithFileWriting() {
|
||||||
$this->Shell->params = array(
|
$this->Shell->params = array(
|
||||||
'name' => 'i18n',
|
'name' => 'i18n',
|
||||||
|
'connection' => 'test',
|
||||||
'write' => TMP . 'tests' . DS . 'i18n.sql'
|
'write' => TMP . 'tests' . DS . 'i18n.sql'
|
||||||
);
|
);
|
||||||
$this->Shell->expects($this->once())->method('_stop');
|
$this->Shell->expects($this->once())->method('_stop');
|
||||||
|
|
Loading…
Reference in a new issue