You are here

public function MongoDBCacheTest::tearDown in Plug 7

File

lib/doctrine/cache/tests/Doctrine/Tests/Common/Cache/MongoDBCacheTest.php, line 27

Class

MongoDBCacheTest

Namespace

Doctrine\Tests\Common\Cache

Code

public function tearDown() {
  if ($this->collection instanceof MongoCollection) {
    $this->collection
      ->drop();
  }
}