* page.
*/
public function testGetAutosummary() {
- $this->setMwGlobals( 'wgContLang', Language::factory( 'en' ) );
+ $this->setContentLang( 'en' );
$content = new DummyContentHandlerForTesting( CONTENT_MODEL_WIKITEXT );
$title = Title::newFromText( 'Help:Test' );