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:
parent
79c979b4e8
commit
3ceb767b83
1 changed files with 0 additions and 3 deletions
|
|
@ -10,9 +10,6 @@ class MWDebugTest extends MediaWikiTestCase {
|
|||
MWDebug::init();
|
||||
$MWDebugEnabled = true;
|
||||
}
|
||||
}
|
||||
|
||||
function tearDown() {
|
||||
/** Clear log before each test */
|
||||
MWDebug::clearLog();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue