Avoiding the use of default connection in schema shell tests

This commit is contained in:
Jose Lorenzo Rodriguez 2011-05-27 02:18:36 -04:30
parent b320e4323f
commit aca592ad93

View file

@ -213,6 +213,7 @@ class SchemaShellTest extends CakeTestCase {
public function testDumpWithFileWriting() {
$this->Shell->params = array(
'name' => 'i18n',
'connection' => 'test',
'write' => TMP . 'tests' . DS . 'i18n.sql'
);
$this->Shell->expects($this->once())->method('_stop');