/** * Tears down the fixture, for example, close a network connection. * This method is called after a test is executed. */ protected function tearDown() { parent::tearDown(); try { $this->pdo->prepare('DROP TABLE posts')->execute(); } catch (\PDOException $e) { } }
protected function setUp() { parent::setUp(); $this->databaseProvider = $this->getDatabaseProvider(); $this->databaseProvider->setAclSchema($this->aclSchema); }