MWDebugTest: clear log before running tests

Some other test could have added their own logs, for example
deprecated notice. In that case, the first test will fail because
the log array already has some content :-b
This commit is contained in:
Antoine Musso 2012-01-18 15:58:25 +00:00
parent 79c979b4e8
commit 3ceb767b83

View file

@ -10,9 +10,6 @@ class MWDebugTest extends MediaWikiTestCase {
MWDebug::init();
$MWDebugEnabled = true;
}
}
function tearDown() {
/** Clear log before each test */
MWDebug::clearLog();
}