diff options
author | Matthieu Aubry <matt@piwik.org> | 2015-11-25 04:48:20 +0300 |
---|---|---|
committer | Matthieu Aubry <matt@piwik.org> | 2015-11-25 04:48:20 +0300 |
commit | 01137cbe80eab5c6f66cab87b053115a7454d936 (patch) | |
tree | 611cc560b99a84e868382185a674b5232e75d0e4 /plugins/TestRunner/Commands/TestsSetupFixture.php | |
parent | ecb4029437c42ebc7273af284b319265abdb5174 (diff) | |
parent | 1a4db22746d6031a54dde64e416cb2a186ba5fd8 (diff) |
Merge pull request #9217 from piwik/9129_2
Added feature Custom Dimensions
Diffstat (limited to 'plugins/TestRunner/Commands/TestsSetupFixture.php')
-rw-r--r-- | plugins/TestRunner/Commands/TestsSetupFixture.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/TestRunner/Commands/TestsSetupFixture.php b/plugins/TestRunner/Commands/TestsSetupFixture.php index baea8f70ff..565a81122a 100644 --- a/plugins/TestRunner/Commands/TestsSetupFixture.php +++ b/plugins/TestRunner/Commands/TestsSetupFixture.php @@ -192,10 +192,7 @@ class TestsSetupFixture extends ConsoleCommand ); foreach ($optionsToOverride as $configOption => $value) { if ($value) { - $configOverride = $testingEnvironment->configOverride; - $configOverride['database_tests'][$configOption] = $configOverride['database'][$configOption] = $value; - $testingEnvironment->configOverride = $configOverride; - + $testingEnvironment->overrideConfig('database_tests', $configOption, $value); Config::getInstance()->database[$configOption] = $value; } } |