/**
  * @throws \Exception
  */
 public function setUp()
 {
     $this->fixturesRootPath = getFixturesRootPath();
     MySQLHelper::resetMySQLDatabases();
     $this->dbDriver = DbGet::factory(getUnitTestDbConfig('HELPER1'));
     $this->fixtureLoader = new FixtureLoader($this->fixturesRootPath, $this->dbDriver);
 }
Example #2
0
 public static function setUpBeforeClass()
 {
     /** @noinspection PhpIncludeInspection */
     require_once getFixturesRootPath() . '/inject_mysqli_report.php';
 }
 /**
  * @throws \Exception
  */
 public function setUp()
 {
     $this->fixturesRootPath = getFixturesRootPath();
     $this->fixtureLoader = new FixtureLoader(FixtureTestCase::getFixturesRootPath());
 }