File tree Expand file tree Collapse file tree 2 files changed +1
-14
lines changed
Expand file tree Collapse file tree 2 files changed +1
-14
lines changed Original file line number Diff line number Diff line change @@ -43,12 +43,6 @@ credentials in the connection string (i.e. `MONGODB_URI`) or set the
4343Note that ` MONGODB_USERNAME ` and ` MONGODB_PASSWORD ` will override any
4444credentials present in the connection string.
4545
46- To run tests use the ` phpunit ` executable installed by Composer:
47-
48- ``` console
49- $ vendor/bin/phpunit
50- ```
51-
5246### Environment Variables
5347
5448The test suite references the following environment variables:
Original file line number Diff line number Diff line change @@ -308,14 +308,7 @@ public function testWithTransaction(): void
308308
309309 private function assertExampleOutput (string $ file , string $ expectedOutput ): void
310310 {
311- // Hide deprecation messages
312- $ level = error_reporting (E_ALL ^ E_DEPRECATED );
313-
314- try {
315- require $ file ;
316- } finally {
317- error_reporting ($ level );
318- }
311+ require $ file ;
319312
320313 $ this ->assertStringMatchesFormat ($ expectedOutput , $ this ->getActualOutputForAssertion ());
321314 }
You can’t perform that action at this time.
0 commit comments