/** * This method is called before a test is executed. * @return void */ protected function setUp() { parent::setUp(); Tester\Environment::lock('database', __DIR__ . '/../temp'); $this->connection->loadFile(__DIR__ . '/../DBstructure.sql'); }