MDL-60611 phpunit: switch to namespaced phunit classes

This commit is contained in:
Eloy Lafuente (stronk7)
2017-11-02 23:45:34 +01:00
parent 1322351b92
commit 801a372dad
18 changed files with 69 additions and 73 deletions
+1 -1
View File
@@ -621,7 +621,7 @@ class phpunit_util extends testing_util {
foreach ($backtrace as $bt) {
if (isset($bt['object']) and is_object($bt['object'])
&& $bt['object'] instanceof PHPUnit_Framework_TestCase) {
&& $bt['object'] instanceof PHPUnit\Framework\TestCase) {
$debug = new stdClass();
$debug->message = $message;
$debug->level = $level;