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()