protected function setUp() { parent::setUp(); $this->originalPath = \Nabble\SemaltBlocker\Updater::getBlocklistFilename(); $this->backupPath = str_replace('blocked', $this->backupFilename, $this->originalPath); file_put_contents($this->backupPath, file_get_contents($this->originalPath)); }
public function setUp() { parent::setUp(); $this->blockFile = \Nabble\SemaltBlocker\Updater::getBlocklistFilename(); $this->domainUrl = \Nabble\SemaltBlocker\Updater::$updateUrl; }