Use english messages for background use of Status::getWikiText
[lhc/web/wiklou.git] / tests / phpunit / maintenance / DumpTestCase.php
index 7336618..ac83d4e 100644 (file)
@@ -53,7 +53,8 @@ abstract class DumpTestCase extends MediaWikiLangTestCase {
                        }
                }
 
-               throw new MWException( "Could not determine revision id (" . $status->getWikiText() . ")" );
+               throw new MWException( "Could not determine revision id ("
+                       . $status->getWikiText( false, false, 'en' ) . ")" );
        }
 
        /**