Skip to content

Commit 633c8f1

Browse files
committed
Add note about environment variables overriding URI credentials
1 parent 0d5aa6b commit 633c8f1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ this configuration by creating your own `phpunit.xml` file based on the
4040
To run tests against a cluster that requires authentication, either include the
4141
credentials in the connection string given in the `MONGODB_URI` environment
4242
variable, or set the `MONGODB_USERNAME` and `MONGODB_PASSWORD` environment
43-
variables accordingly.
43+
variables accordingly. Note that values defined through the environment override
44+
credentials present in the URI.
4445

4546
By default, the `simple-phpunit` binary chooses the correct PHPUnit version for
4647
the PHP version you are running. To run tests against a specific PHPUnit version,

0 commit comments

Comments
 (0)