diff options
author | diosmosis <benaka@piwik.pro> | 2015-04-13 02:25:04 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2015-04-13 02:25:04 +0300 |
commit | 6c2b9bcc05584d45df1ac0dbeaf407ddc3cc6ba3 (patch) | |
tree | 5fe5393685a2f3c93b8c52afb21add81abe084f2 /tests/PHPUnit/System/ImportLogsTest.php | |
parent | 7cb5f423633d3d599d28a0ded88b2336ad624438 (diff) |
Tweak to ImportLogsTest change in https://github.com/piwik/piwik/commit/dab5921b9a80dfad34e80acf81e1408c435e2269.
Diffstat (limited to 'tests/PHPUnit/System/ImportLogsTest.php')
-rwxr-xr-x | tests/PHPUnit/System/ImportLogsTest.php | 11 |
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(); |