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-06-18 11:28:11 +0300
committerdiosmosis <benaka@piwik.pro>2015-06-20 03:09:13 +0300
commit49311eb3482c4e0e3811e104507da68ee963678c (patch)
treef8b4320bbfe1f6f144d4d8b337b8449dfd1dc28c /core/Tracker.php
parent1b0671cbb15c81a5affb44843f67d95b83f53629 (diff)
Make TEstingEnvironmentManipulator override the global settings provider ONLY if were custom paths used. This allows other Environment classes to provide their own custom provider, w/o it being overridden by tests. Also when getting DI overrides from a fixture, use the fixture that is configured by the test class, so any fixture properties will be correctly initialized.
Diffstat (limited to 'core/Tracker.php')
-rw-r--r--core/Tracker.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/Tracker.php b/core/Tracker.php
index ddc62a9d0e..fa774112c3 100644
--- a/core/Tracker.php
+++ b/core/Tracker.php
@@ -11,6 +11,8 @@ namespace Piwik;
use Exception;
use Piwik\Plugins\BulkTracking\Tracker\Requests;
use Piwik\Plugins\PrivacyManager\Config as PrivacyManagerConfig;
+use Piwik\Config;
+use Piwik\Tests\Framework\TestingEnvironmentVariables;
use Piwik\Tracker\Db as TrackerDb;
use Piwik\Tracker\Db\DbException;
use Piwik\Tracker\Handler;