We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05dd337 commit 2f97ce5Copy full SHA for 2f97ce5
phpunit.xml.dist
@@ -16,7 +16,7 @@
16
17
<php>
18
<ini name="error_reporting" value="-1"/>
19
- <env name="MONGODB_URI" value="mongodb://localhost:27017"/>
+ <env name="MONGODB_URI" value="mongodb://127.0.0.1:27017"/>
20
<env name="MONGODB_DATABASE" value="phplib_test"/>
21
</php>
22
tests/TestCase.php
@@ -45,6 +45,6 @@ public function getNamespace()
45
*/
46
public function getUri()
47
{
48
- return getenv('MONGODB_URI') ?: 'mongodb://localhost:27017';
+ return getenv('MONGODB_URI') ?: 'mongodb://127.0.0.1:27017';
49
}
50
0 commit comments