Use the frame 'type' in wfFormatStackFrame, like MWExceptionHandler::prettyPrintTrace
[lhc/web/wiklou.git] / tests / phpunit / includes / debug / MWDebugTest.php
index 7280a97..3497c88 100644 (file)
@@ -29,7 +29,7 @@ class MWDebugTest extends MediaWikiTestCase {
                        array( array(
                                'msg' => 'logging a string',
                                'type' => 'log',
-                               'caller' => __METHOD__,
+                               'caller' => 'MWDebugTest->testAddLog',
                        ) ),
                        MWDebug::getLog()
                );