Ouzo\Tests\DbTransactionalTestCase::tearDown PHP Method

tearDown() public method

public tearDown ( )
    public function tearDown()
    {
        Cache::clear();
        if (Db::getInstance()->isConnected()) {
            Db::getInstance()->enableTransactions();
            Db::getInstance()->rollbackTransaction();
        }
    }
DbTransactionalTestCase