Merge "Slight improvements to FormSpecialPage behavior."
[lhc/web/wiklou.git] / tests / phpunit / includes / parser / NewParserTest.php
index 7ec364d..8cee07b 100644 (file)
@@ -83,7 +83,6 @@ class NewParserTest extends MediaWikiTestCase {
                $tmpGlobals['wgRawHtml'] = false;
                $tmpGlobals['wgUseTidy'] = false;
                $tmpGlobals['wgAlwaysUseTidy'] = false;
-               $tmpGlobals['wgHtml5'] = true;
                $tmpGlobals['wgWellFormedXml'] = true;
                $tmpGlobals['wgAllowMicrodataAttributes'] = true;
                $tmpGlobals['wgExperimentalHtmlIds'] = false;
@@ -111,7 +110,7 @@ class NewParserTest extends MediaWikiTestCase {
                # actual thumbnails to do parser testing, we only care about receiving
                # a ThumbnailImage properly initialized.
                global $wgMediaHandlers;
-               foreach( $wgMediaHandlers as $type => $handler ) {
+               foreach ( $wgMediaHandlers as $type => $handler ) {
                        $tmpGlobals['wgMediaHandlers'][$type] = 'MockBitmapHandler';
                }
 
@@ -464,7 +463,7 @@ class NewParserTest extends MediaWikiTestCase {
                }
 
                $backend = RepoGroup::singleton()->getLocalRepo()->getBackend();
-               if( $backend instanceof MockFileBackend ) {
+               if ( $backend instanceof MockFileBackend ) {
                        # In memory backend, so dont bother cleaning them up.
                        return;
                }
@@ -550,7 +549,7 @@ class NewParserTest extends MediaWikiTestCase {
 
                if ( !$this->isWikitextNS( NS_MAIN ) ) {
                        // parser tests frequently assume that the main namespace contains wikitext.
-                       // @todo: When setting up pages, force the content model. Only skip if
+                       // @todo When setting up pages, force the content model. Only skip if
                        //        $wgtContentModelUseDB is false.
                        $this->markTestSkipped( "Main namespace does not support wikitext,"
                                . "skipping parser test: $desc" );