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-05-26 22:12:47 +0300
committerdiosmosis <benaka@piwik.pro>2015-06-02 01:05:27 +0300
commit86738409ae2ad93675fbdd6741ca82f4ec6212b6 (patch)
treef66f2bfce0fe5fe33d2a4adbb063503328f6af52 /tests/PHPUnit/System/EnvironmentValidationTest.php
parent17f61e3137ff7e420d75e283b705121e4731cce7 (diff)
Rename Piwik_TestingEnvironment to TestingEnvironment and move the class to Piwik\Tests\Framework namespace. Remove manual require statements.
Diffstat (limited to 'tests/PHPUnit/System/EnvironmentValidationTest.php')
-rw-r--r--tests/PHPUnit/System/EnvironmentValidationTest.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/PHPUnit/System/EnvironmentValidationTest.php b/tests/PHPUnit/System/EnvironmentValidationTest.php
index 37d631a5a4..aea7dabe2f 100644
--- a/tests/PHPUnit/System/EnvironmentValidationTest.php
+++ b/tests/PHPUnit/System/EnvironmentValidationTest.php
@@ -30,7 +30,7 @@ class EnvironmentValidationTest extends SystemTestCase
{
parent::setUp();
- $testingEnvironment = new \Piwik_TestingEnvironment();
+ $testingEnvironment = new \Piwik\Tests\Framework\TestingEnvironment();
$testingEnvironment->configFileGlobal = null;
$testingEnvironment->configFileLocal = null;
$testingEnvironment->configFileCommon = null;
@@ -138,7 +138,7 @@ class EnvironmentValidationTest extends SystemTestCase
private function simulateAbsentConfigFile($fileName)
{
- $testingEnvironment = new \Piwik_TestingEnvironment();
+ $testingEnvironment = new \Piwik\Tests\Framework\TestingEnvironment();
if ($fileName == 'global.ini.php') {
$testingEnvironment->configFileGlobal = PIWIK_INCLUDE_PATH . '/tmp/nonexistant/global.ini.php';
@@ -153,7 +153,7 @@ class EnvironmentValidationTest extends SystemTestCase
private function simulateBadConfigFile($fileName)
{
- $testingEnvironment = new \Piwik_TestingEnvironment();
+ $testingEnvironment = new \Piwik\Tests\Framework\TestingEnvironment();
if ($fileName == 'global.ini.php') {
$testingEnvironment->configFileGlobal = PIWIK_INCLUDE_PATH . '/piwik.php';
@@ -168,7 +168,7 @@ class EnvironmentValidationTest extends SystemTestCase
private function simulateHost($host)
{
- $testingEnvironment = new \Piwik_TestingEnvironment();
+ $testingEnvironment = new \Piwik\Tests\Framework\TestingEnvironment();
$testingEnvironment->hostOverride = $host;
$testingEnvironment->save();
}