Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix incorrect aliasing.

The old code resulted in test_default => default, not test => default as
intended.
  • Loading branch information...
commit 48f5812bf87c0d78b2dde5d2bf860d1c60975786 1 parent c67eee9
@markstory markstory authored
Showing with 4 additions and 3 deletions.
  1. +4 −3 src/TestSuite/Fixture/FixtureManager.php
View
7 src/TestSuite/Fixture/FixtureManager.php
@@ -83,10 +83,11 @@ public function fixturize($test) {
protected function _aliasConnections() {
$connections = ConnectionManager::configured();
ConnectionManager::alias('test', 'default');
- $map = [
- 'test' => 'default',
- ];
+ $map = [];
foreach ($connections as $connection) {
+ if ($connection === 'test' || $connection === 'default') {
+ continue;
+ }
if (isset($map[$connection])) {
continue;
}
Please sign in to comment.
Something went wrong with that request. Please try again.