Add @covers for RemexStripTagHandler
[lhc/web/wiklou.git] / tests / phpunit / includes / DeprecatedGlobalTest.php
index 802f9b1..237e3fb 100644 (file)
  * @covers DeprecatedGlobal
  */
 class DeprecatedGlobalTest extends MediaWikiTestCase {
+
+       public function setUp() {
+               parent::setUp();
+               $this->oldErrorLevel = error_reporting( -1 );
+       }
+
+       public function tearDown() {
+               error_reporting( $this->oldErrorLevel );
+               parent::tearDown();
+       }
+
        public function testObjectDeStub() {
                global $wgDummy;