protected function setUp() { parent::setUp(); // Revisions must be blanked here otherwise phpunit run with --repeat will remember // ths revision list between multiple invocations of the test causing issues. $this->revisions = array(); }
public function setUp() { parent::setUp(); // Check for Parsoid try { Utils::convert('html', 'wikitext', 'Foo', Title::newFromText('UTPage')); } catch (WikitextException $excep) { $this->markTestSkipped('Parsoid not enabled'); } }
public function setUp() { parent::setUp(); $this->ancestor = UUID::create(false); $this->descendant = UUID::create(false); }
protected function setUp() { parent::setUp(); $this->urlGenerator = Container::get('url_generator'); }
public function setup() { $this->setMwGlobals(array('wgExternalStores' => array('FlowMock'))); \ExternalStoreFlowMock::$isUsed = false; parent::setUp(); }