Skip to content

Commit

Permalink
[Lock] fix tests for MongoDB
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-grekas committed Apr 12, 2020
1 parent 0a85caf commit 0ee1ffe
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Tests/Store/MongoDbStoreTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@

/**
* @author Joe Bennett <[email protected]>
* @requires extension mongodb
*
* @requires function \MongoDB\Client::__construct
*/
class MongoDbStoreTest extends AbstractStoreTest
{
Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
},
"require-dev": {
"doctrine/dbal": "~2.5",
"mongodb/mongodb": "~1.1",
"predis/predis": "~1.0"
},
"conflict": {
Expand Down
1 change: 1 addition & 0 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<ini name="error_reporting" value="-1" />
<env name="REDIS_HOST" value="localhost" />
<env name="MEMCACHED_HOST" value="localhost" />
<env name="MONGODB_HOST" value="localhost" />
<env name="ZOOKEEPER_HOST" value="localhost" />
</php>

Expand Down

0 comments on commit 0ee1ffe

Please sign in to comment.