Skip to content
Browse files

Remove use of undefined connection name.

This custom connection was not defined and was causing missing
connection errors now that aliasing is correct. Instead of checking the
connection name this test can do its work by checking the object
instance type.
  • Loading branch information...
markstory committed Mar 6, 2016
1 parent cd1257b commit ce150f303f1595df4634497cccc2bf35deacacd0
@@ -92,8 +92,8 @@ public function testCustomTranslationTable()
$i18n = $items->getByProperty('_i18n');
$this->assertEquals('\TestApp\Model\Table\I18nTable', $i18n->name());
$this->assertInstanceOf('TestApp\Model\Table\I18nTable', $i18n->target());
$this->assertEquals('custom_i18n_table', $i18n->target()->table());
$this->assertEquals('test_custom_i18n_datasource', $i18n->target()->connection()->configName());
@@ -24,9 +24,4 @@ public function initialize(array $config)
public static function defaultConnectionName()
return 'custom_i18n_datasource';

0 comments on commit ce150f3

Please sign in to comment.
You can’t perform that action at this time.