Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/PHPUnit/Fixtures/SomeVisitsCustomVariablesCampaignsNotHeuristics.php')
-rw-r--r--tests/PHPUnit/Fixtures/SomeVisitsCustomVariablesCampaignsNotHeuristics.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/PHPUnit/Fixtures/SomeVisitsCustomVariablesCampaignsNotHeuristics.php b/tests/PHPUnit/Fixtures/SomeVisitsCustomVariablesCampaignsNotHeuristics.php
index 8ba755fabd..a32129c93b 100644
--- a/tests/PHPUnit/Fixtures/SomeVisitsCustomVariablesCampaignsNotHeuristics.php
+++ b/tests/PHPUnit/Fixtures/SomeVisitsCustomVariablesCampaignsNotHeuristics.php
@@ -36,10 +36,9 @@ class SomeVisitsCustomVariablesCampaignsNotHeuristics extends Fixture
private function setPiwikEnvironmentOverrides()
{
- $configOverride = $this->getTestEnvironment()->configOverride;
- $configOverride['Tracker']['create_new_visit_when_website_referrer_changes'] = 1;
- $this->getTestEnvironment()->configOverride = $configOverride;
- $this->getTestEnvironment()->save();
+ $env = $this->getTestEnvironment();
+ $env->overrideConfig('Tracker', 'create_new_visit_when_website_referrer_changes', 1);
+ $env->save();
}
private function setUpWebsitesAndGoals()