Clarify .env.testing functionality

This commit is contained in:
Michael 2018-05-07 15:09:56 +12:00 committed by GitHub
parent 8028718255
commit 464e888b2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ When running tests via `phpunit`, Laravel will automatically set the configurati
You are free to define other testing environment configuration values as necessary. The `testing` environment variables may be configured in the `phpunit.xml` file, but make sure to clear your configuration cache using the `config:clear` Artisan command before running your tests!
In addition, you may create a `.env.testing` file in the root of your project. This file will override the `.env` file's variables when running PHPUnit tests or executing Artisan commands with the `--env=testing` switch.
In addition, you may create a `.env.testing` file in the root of your project. This file will override the `.env` file when running PHPUnit tests or executing Artisan commands with the `--env=testing` option.
<a name="creating-and-running-tests"></a>
## Creating & Running Tests