Example #1
0
 public function setUp()
 {
     $this->oldLibxmlErrorSetting = libxml_use_internal_errors(true);
     $this->setup->performSetup($this, $this->id);
     $this->tmpDir = $this->createTempDir(get_class($this));
     // Store current timezone and switch to UTC for test
     $this->oldTimezoneSetting = date_default_timezone_get();
     date_default_timezone_set('UTC');
     $this->backend->options->lockFile = $this->tmpDir . '/backend.lock';
 }