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-01 08:31:03 +0300
committerdiosmosis <benaka@piwik.pro>2015-06-05 23:04:58 +0300
commit53a29ed2338094321bb077574e369e62231d62da (patch)
tree4a38da280d49963c8c30fb7daf83dead9af37269 /tests/PHPUnit/System/TrackerTest.php
parent447ff12b141f1bba9cab78396cb12ff2b98b595c (diff)
Rename TestingEnvironment to TestingEnvironmentVariables.
Diffstat (limited to 'tests/PHPUnit/System/TrackerTest.php')
-rw-r--r--tests/PHPUnit/System/TrackerTest.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/PHPUnit/System/TrackerTest.php b/tests/PHPUnit/System/TrackerTest.php
index 6a75ea7584..3db1b05861 100644
--- a/tests/PHPUnit/System/TrackerTest.php
+++ b/tests/PHPUnit/System/TrackerTest.php
@@ -36,7 +36,7 @@ class TrackerTest extends IntegrationTestCase
Fixture::createWebsite('2014-02-04');
- $testingEnvironment = new \Piwik\Tests\Framework\TestingEnvironment();
+ $testingEnvironment = new \Piwik\Tests\Framework\TestingEnvironmentVariables();
$testingEnvironment->testCaseClass = null;
$testingEnvironment->addFailingScheduledTask = false;
$testingEnvironment->addScheduledTask = false;
@@ -291,7 +291,7 @@ class TrackerTest extends IntegrationTestCase
private function setScheduledTasksToRunInTracker()
{
- $testingEnvironment = new \Piwik\Tests\Framework\TestingEnvironment();
+ $testingEnvironment = new \Piwik\Tests\Framework\TestingEnvironmentVariables();
$testingEnvironment->testCaseClass = 'Piwik\Tests\System\TrackerTest';
$testingEnvironment->addScheduledTask = true;
$testingEnvironment->configOverride = array('Tracker' => array('scheduled_tasks_min_interval' => 1, 'debug_on_demand' => 1));
@@ -300,7 +300,7 @@ class TrackerTest extends IntegrationTestCase
private function addFailingScheduledTaskToTracker($doFatalError)
{
- $testingEnvironment = new \Piwik\Tests\Framework\TestingEnvironment();
+ $testingEnvironment = new \Piwik\Tests\Framework\TestingEnvironmentVariables();
$testingEnvironment->addFailingScheduledTask = true;
$testingEnvironment->scheduledTaskFailureShouldBeFatal = $doFatalError;
$testingEnvironment->save();
@@ -312,7 +312,7 @@ class TrackerTest extends IntegrationTestCase
define('DEBUG_FORCE_SCHEDULED_TASKS', 1);
}
- $testingEnvironment = new \Piwik\Tests\Framework\TestingEnvironment();
+ $testingEnvironment = new \Piwik\Tests\Framework\TestingEnvironmentVariables();
$tasksToAdd = array();