public setUp ( ) |
public function setUp()
{
if (!class_exists('MongoDB\\Client')) {
$this->markTestSkipped('pecl/mongodb >= 1.1.3 is required to run this test');
}
$client = new MongoClient();
$client->dropDatabase($this->databaseName);
parent::setUp();
}