MWDebug::clearLog();
}
+ /**
+ * @group Broken
+ */
function testAddLog() {
MWDebug::log( 'logging a string' );
$this->assertEquals( array( array(
);
}
+ /**
+ * @group Broken
+ */
function testAddWarning() {
MWDebug::warning( 'Warning message' );
$this->assertEquals( array( array(
);
}
+ /**
+ * Broken on gallium which use an old PHPUnit version
+ * @group Broken
+ */
function testAvoidDuplicateDeprecations() {
MWDebug::deprecated( 'wfOldFunction', '1.0', 'component' );
MWDebug::deprecated( 'wfOldFunction', '1.0', 'component' );
);
}
+ /**
+ * Broken on gallium which use an old PHPUnit version
+ * @group Broken
+ */
function testAvoidNonConsecutivesDuplicateDeprecations() {
MWDebug::deprecated( 'wfOldFunction', '1.0', 'component' );
MWDebug::warning( 'some warning' );