diff options
author | Marc Alexander <admin@m-a-styles.de> | 2018-12-30 11:36:08 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2019-05-09 21:40:06 +0200 |
commit | ebac54aa9e705e99a562d2fe2c0f57bc6af8dd32 (patch) | |
tree | a6f45f42c8861ba60216517687bfe72084ba7dcb /tests/test_framework/phpbb_test_case_helpers.php | |
parent | [ticket/14948] Require PHP 7.1 and update dependencies (diff) | |
download | phpbb-ebac54aa9e705e99a562d2fe2c0f57bc6af8dd32.tar.gz phpbb-ebac54aa9e705e99a562d2fe2c0f57bc6af8dd32.tar.bz2 phpbb-ebac54aa9e705e99a562d2fe2c0f57bc6af8dd32.zip |
[ticket/14948] Adjust calls for twig and phpunit updates
PHPBB3-14948
Diffstat (limited to 'tests/test_framework/phpbb_test_case_helpers.php')
-rw-r--r-- | tests/test_framework/phpbb_test_case_helpers.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/test_framework/phpbb_test_case_helpers.php b/tests/test_framework/phpbb_test_case_helpers.php index c8ff7ba72b..d12572faf0 100644 --- a/tests/test_framework/phpbb_test_case_helpers.php +++ b/tests/test_framework/phpbb_test_case_helpers.php @@ -81,17 +81,17 @@ class phpbb_test_case_helpers { case E_NOTICE: case E_STRICT: - PHPUnit_Framework_Error_Notice::$enabled = true; - $exceptionName = 'PHPUnit_Framework_Error_Notice'; + PHPUnit\Framework\Error\Notice::$enabled = true; + $exceptionName = 'PHPUnit\Framework\Error\Notice'; break; case E_WARNING: - PHPUnit_Framework_Error_Warning::$enabled = true; - $exceptionName = 'PHPUnit_Framework_Error_Warning'; + PHPUnit\Framework\Error\Warning::$enabled = true; + $exceptionName = 'PHPUnit\Framework\Error\Warning'; break; default: - $exceptionName = 'PHPUnit_Framework_Error'; + $exceptionName = 'PHPUnit\Framework\Error\Error'; break; } $this->expectedTriggerError = true; |