mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
Remove unneed section of testing docs
This commit is contained in:
parent
0be882dc35
commit
44b48a954a
13
TESTING.md
13
TESTING.md
|
@ -11,19 +11,6 @@ Before attempting to run the test suite copy the example environment file for te
|
||||||
`cp .env.testing.example .env.testing`
|
`cp .env.testing.example .env.testing`
|
||||||
> Since the data in the database is flushed after each test it is recommended you create a separate mysql database for specifically for tests
|
> Since the data in the database is flushed after each test it is recommended you create a separate mysql database for specifically for tests
|
||||||
|
|
||||||
Here is an example of what your `.env.testing` file might look like:
|
|
||||||
|
|
||||||
```dotenv
|
|
||||||
# --------------------------------------------
|
|
||||||
# REQUIRED: DATABASE SETTINGS
|
|
||||||
# --------------------------------------------
|
|
||||||
DB_CONNECTION=mysql
|
|
||||||
DB_HOST=127.0.0.1
|
|
||||||
DB_DATABASE=snipeit_testing
|
|
||||||
DB_USERNAME=root
|
|
||||||
DB_PASSWORD=changeme1234
|
|
||||||
```
|
|
||||||
|
|
||||||
Now you are ready to run the entire test suite from your terminal:
|
Now you are ready to run the entire test suite from your terminal:
|
||||||
|
|
||||||
`php artisan test`
|
`php artisan test`
|
||||||
|
|
Loading…
Reference in a new issue