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:
authorStefan Giehl <stefan@matomo.org>2020-02-11 14:26:02 +0300
committerGitHub <noreply@github.com>2020-02-11 14:26:02 +0300
commitcce28d09be27006a12654f5cc5aeff7927eb0618 (patch)
treee4911acc644acb146f5b730cfe5510dcb7b58fdb /tests/PHPUnit/Framework
parent5d2dab75e3654126ed95ea72b58b4c225ac59492 (diff)
Use \PHPUnit\FrameWork\TestCase instead of \PHPUnit_Framework_TestCase (#15554)
Diffstat (limited to 'tests/PHPUnit/Framework')
-rw-r--r--tests/PHPUnit/Framework/TestCase/SystemTestCase.php4
-rw-r--r--tests/PHPUnit/Framework/TestCase/UnitTestCase.php2
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/PHPUnit/Framework/TestCase/SystemTestCase.php b/tests/PHPUnit/Framework/TestCase/SystemTestCase.php
index 49963e32d0..ca97061c42 100644
--- a/tests/PHPUnit/Framework/TestCase/SystemTestCase.php
+++ b/tests/PHPUnit/Framework/TestCase/SystemTestCase.php
@@ -29,7 +29,7 @@ use Piwik\Tests\Framework\TestRequest\ApiTestConfig;
use Piwik\Tests\Framework\TestRequest\Collection;
use Piwik\Tests\Framework\TestRequest\Response;
use Piwik\Log;
-use PHPUnit_Framework_TestCase;
+use PHPUnit\Framework\TestCase;
use Piwik\Tests\Framework\Fixture;
use Piwik\Translation\Translator;
use Piwik\Url;
@@ -41,7 +41,7 @@ use Piwik\Url;
*
* @since 2.8.0
*/
-abstract class SystemTestCase extends PHPUnit_Framework_TestCase
+abstract class SystemTestCase extends TestCase
{
/**
* Identifies the last language used in an API/Controller call.
diff --git a/tests/PHPUnit/Framework/TestCase/UnitTestCase.php b/tests/PHPUnit/Framework/TestCase/UnitTestCase.php
index c196e59a7e..e61a6255db 100644
--- a/tests/PHPUnit/Framework/TestCase/UnitTestCase.php
+++ b/tests/PHPUnit/Framework/TestCase/UnitTestCase.php
@@ -19,7 +19,7 @@ use Piwik\Tests\Framework\Mock\File;
*
* @since 2.10.0
*/
-abstract class UnitTestCase extends \PHPUnit_Framework_TestCase
+abstract class UnitTestCase extends \PHPUnit\Framework\TestCase
{
/**
* @var Environment