From 0ee1ffee93d82d4474e694ef5400c4afd43fb44d Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Sun, 12 Apr 2020 13:23:14 +0200 Subject: [PATCH] [Lock] fix tests for MongoDB --- Tests/Store/MongoDbStoreTest.php | 3 ++- composer.json | 1 + phpunit.xml.dist | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Tests/Store/MongoDbStoreTest.php b/Tests/Store/MongoDbStoreTest.php index 2e92291..0fb3c5d 100644 --- a/Tests/Store/MongoDbStoreTest.php +++ b/Tests/Store/MongoDbStoreTest.php @@ -20,7 +20,8 @@ /** * @author Joe Bennett - * @requires extension mongodb + * + * @requires function \MongoDB\Client::__construct */ class MongoDbStoreTest extends AbstractStoreTest { diff --git a/composer.json b/composer.json index 4ff89bf..e038a82 100644 --- a/composer.json +++ b/composer.json @@ -22,6 +22,7 @@ }, "require-dev": { "doctrine/dbal": "~2.5", + "mongodb/mongodb": "~1.1", "predis/predis": "~1.0" }, "conflict": { diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 4a06657..96c3ea1 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -12,6 +12,7 @@ +