Tests should not interfere with each other; disabled deprecation
warnings should be disabled for a single test case only.
Bug: T191960
Change-Id: Ic9b892bc83ba6d71c1077df0d93c95dde36988bb
}
}
+ // Re-enable any disabled deprecation warnings
+ MWDebug::clearLog();
// Restore mw globals
foreach ( $this->mwGlobals as $key => $value ) {
$GLOBALS[$key] = $value;
$this->setMwGlobals( 'wgDevelopmentWarnings', false );
}
- public function tearDown() {
- parent::tearDown();
- MWDebug::clearLog();
- }
-
/**
* @dataProvider provideGet
*/