protected function getParserOutputFromEditInfo()
 {
     $editInfoProvider = new EditInfoProvider($this->wikiPage, $this->revision, $this->user);
     return $this->parserOutput = $editInfoProvider->fetchEditInfo()->getOutput();
 }
Esempio n. 2
0
 /**
  * @dataProvider wikiPageDataProvider
  */
 public function testFetchContentInfo($parameters, $expected)
 {
     $instance = new EditInfoProvider($parameters['wikiPage'], $parameters['revision']);
     $this->assertEquals($expected, $instance->fetchEditInfo()->getOutput());
 }
 private function fetchParserOutputFromEditInfo()
 {
     $editInfoProvider = new EditInfoProvider($this->wikiPage, $this->revision, $this->user);
     return $editInfoProvider->fetchEditInfo()->getOutput();
 }