Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ee3caba

Browse filesBrowse files
[Lock] fix tests for MongoDB
1 parent c8472b5 commit ee3caba
Copy full SHA for ee3caba

File tree

Expand file treeCollapse file tree

3 files changed

+4
-1
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+4
-1
lines changed

‎src/Symfony/Component/Lock/Tests/Store/MongoDbStoreTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Lock/Tests/Store/MongoDbStoreTest.php
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020

2121
/**
2222
* @author Joe Bennett <joe@assimtech.com>
23-
* @requires extension mongodb
23+
*
24+
* @requires function \MongoDB\Client::__construct
2425
*/
2526
class MongoDbStoreTest extends AbstractStoreTest
2627
{

‎src/Symfony/Component/Lock/composer.json

Copy file name to clipboardExpand all lines: src/Symfony/Component/Lock/composer.json
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
},
2323
"require-dev": {
2424
"doctrine/dbal": "~2.5",
25+
"mongodb/mongodb": "~1.1",
2526
"predis/predis": "~1.0"
2627
},
2728
"conflict": {

‎src/Symfony/Component/Lock/phpunit.xml.dist

Copy file name to clipboardExpand all lines: src/Symfony/Component/Lock/phpunit.xml.dist
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<ini name="error_reporting" value="-1" />
1313
<env name="REDIS_HOST" value="localhost" />
1414
<env name="MEMCACHED_HOST" value="localhost" />
15+
<env name="MONGODB_HOST" value="localhost" />
1516
<env name="ZOOKEEPER_HOST" value="localhost" />
1617
</php>
1718

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.