aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_framework/phpbb_test_case.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_framework/phpbb_test_case.php')
-rw-r--r--tests/test_framework/phpbb_test_case.php12
1 files changed, 7 insertions, 5 deletions
diff --git a/tests/test_framework/phpbb_test_case.php b/tests/test_framework/phpbb_test_case.php
index 01d26fb67d..8e09f17ede 100644
--- a/tests/test_framework/phpbb_test_case.php
+++ b/tests/test_framework/phpbb_test_case.php
@@ -11,7 +11,9 @@
*
*/
-class phpbb_test_case extends PHPUnit_Framework_TestCase
+use PHPUnit\Framework\TestCase;
+
+class phpbb_test_case extends TestCase
{
protected $test_case_helpers;
@@ -19,10 +21,10 @@ class phpbb_test_case extends PHPUnit_Framework_TestCase
{
parent::__construct($name, $data, $dataName);
$this->backupStaticAttributesBlacklist += array(
- 'PHP_CodeCoverage' => array('instance'),
- 'PHP_CodeCoverage_Filter' => array('instance'),
- 'PHP_CodeCoverage_Util' => array('ignoredLines', 'templateMethods'),
- 'PHP_Timer' => array('startTimes',),
+ 'SebastianBergmann\CodeCoverage\CodeCoverage' => array('instance'),
+ 'SebastianBergmann\CodeCoverage\Filter' => array('instance'),
+ 'SebastianBergmann\CodeCoverage\Util' => array('ignoredLines', 'templateMethods'),
+ 'SebastianBergmann\Timer\Timer' => array('startTimes',),
'PHP_Token_Stream' => array('customTokens'),
'PHP_Token_Stream_CachingFactory' => array('cache'),