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:
Diffstat (limited to 'tests/PHPUnit/Integration/ReleaseCheckListTest.php')
-rw-r--r--tests/PHPUnit/Integration/ReleaseCheckListTest.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/PHPUnit/Integration/ReleaseCheckListTest.php b/tests/PHPUnit/Integration/ReleaseCheckListTest.php
index 0bc8438445..690ef8e166 100644
--- a/tests/PHPUnit/Integration/ReleaseCheckListTest.php
+++ b/tests/PHPUnit/Integration/ReleaseCheckListTest.php
@@ -13,7 +13,7 @@ use Piwik\Config;
use Piwik\Container\StaticContainer;
use Piwik\Filesystem;
use Piwik\Http;
-use Piwik\Ini\IniReader;
+use Matomo\Ini\IniReader;
use Piwik\Plugin\Manager;
use Piwik\Tests\Framework\TestCase\SystemTestCase;
use Piwik\Tracker;
@@ -24,13 +24,13 @@ use RecursiveIteratorIterator;
* @group Core
* @group ReleaseCheckListTest
*/
-class ReleaseCheckListTest extends \PHPUnit_Framework_TestCase
+class ReleaseCheckListTest extends \PHPUnit\Framework\TestCase
{
private $globalConfig;
- const MINIMUM_PHP_VERSION = '5.5.9';
+ const MINIMUM_PHP_VERSION = '7.2.0';
- public function setUp()
+ public function setUp(): void
{
$iniReader = new IniReader();
$this->globalConfig = $iniReader->readFile(PIWIK_PATH_TEST_TO_ROOT . '/config/global.ini.php');
@@ -159,7 +159,6 @@ class ReleaseCheckListTest extends \PHPUnit_Framework_TestCase
$this->_checkEqual(array('log' => 'log_writers'), array('screen'));
$this->_checkEqual(array('log' => 'logger_api_call'), null);
- require_once PIWIK_INCLUDE_PATH . "/core/TaskScheduler.php";
$this->assertFalse(defined('DEBUG_FORCE_SCHEDULED_TASKS'));
// Check the index.php has "backtrace disabled"
@@ -222,7 +221,8 @@ class ReleaseCheckListTest extends \PHPUnit_Framework_TestCase
// Note: entries below are paths and any file within these paths will be automatically whitelisted
PIWIK_INCLUDE_PATH . '/tests/resources/overlay-test-site-real/',
PIWIK_INCLUDE_PATH . '/tests/resources/overlay-test-site/',
- PIWIK_INCLUDE_PATH . '/vendor/facebook/xhprof/xhprof_html/docs/',
+ PIWIK_INCLUDE_PATH . '/vendor/lox/xhprof/xhprof_html/docs/',
+ PIWIK_INCLUDE_PATH . '/vendor/phpunit/php-code-coverage/tests',
PIWIK_INCLUDE_PATH . '/plugins/Morpheus/icons/',
);