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:
authordiosmosis <benaka@piwik.pro>2015-04-13 02:25:04 +0300
committerdiosmosis <benaka@piwik.pro>2015-04-13 02:25:04 +0300
commit6c2b9bcc05584d45df1ac0dbeaf407ddc3cc6ba3 (patch)
tree5fe5393685a2f3c93b8c52afb21add81abe084f2 /tests/PHPUnit/System/ImportLogsTest.php
parent7cb5f423633d3d599d28a0ded88b2336ad624438 (diff)
Tweak to ImportLogsTest change in https://github.com/piwik/piwik/commit/dab5921b9a80dfad34e80acf81e1408c435e2269.
Diffstat (limited to 'tests/PHPUnit/System/ImportLogsTest.php')
-rwxr-xr-xtests/PHPUnit/System/ImportLogsTest.php11
1 files changed, 8 insertions, 3 deletions
diff --git a/tests/PHPUnit/System/ImportLogsTest.php b/tests/PHPUnit/System/ImportLogsTest.php
index cb2131f332..e622265dff 100755
--- a/tests/PHPUnit/System/ImportLogsTest.php
+++ b/tests/PHPUnit/System/ImportLogsTest.php
@@ -28,9 +28,7 @@ class ImportLogsTest extends SystemTestCase
{
parent::setUp();
- $testingEnvironment = new \Piwik_TestingEnvironment();
- $testingEnvironment->configOverride = null;
- $testingEnvironment->save();
+ $this->resetTestingEnvironmentChanges();
}
/**
@@ -150,6 +148,13 @@ class ImportLogsTest extends SystemTestCase
{
return 'ImportLogs';
}
+
+ private function resetTestingEnvironmentChanges()
+ {
+ $testingEnvironment = new \Piwik_TestingEnvironment();
+ $testingEnvironment->configOverride = null;
+ $testingEnvironment->save();
+ }
}
ImportLogsTest::$fixture = new ManySitesImportedLogs();