From bfc35cc1e95130c2c4cc5a20c9f21ab3d2fcd967 Mon Sep 17 00:00:00 2001 From: Eugene Leonovich Date: Wed, 30 Apr 2014 22:45:20 +0200 Subject: [PATCH] Remove deprecated method MongoClient::dropDB() --- tests/Handler/MongoHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Handler/MongoHandler.php b/tests/Handler/MongoHandler.php index c5481ed..383741f 100644 --- a/tests/Handler/MongoHandler.php +++ b/tests/Handler/MongoHandler.php @@ -27,7 +27,7 @@ public function createQueue() public function reset() { - $this->client->dropDB($this->getOption('db_name')); + $this->client->selectDB($this->getOption('db_name'))->drop(); } public function clear()