Unverified Commit 9f1b5819 authored by Divine's avatar Divine Committed by GitHub

Add explanation for not working classess

parent e2e59179
...@@ -117,18 +117,29 @@ docker-compose up ...@@ -117,18 +117,29 @@ docker-compose up
Database Testing Database Testing
------- -------
Resetting The Database After Each Test To reset the database after each test, add:
```php ```php
use Illuminate\Foundation\Testing\DatabaseMigrations; use Illuminate\Foundation\Testing\DatabaseMigrations;
``` ```
And inside each test classes. Also inside each test classes, add:
```php ```php
use DatabaseMigrations; use DatabaseMigrations;
``` ```
Keep in mind that currently this isn't supported and should be removed:
```php
use DatabaseTransactions;
```
and
```php
use RefreshDatabase;
```
Configuration Configuration
------------- -------------
You can use MongoDB either as the main database, either as a side database. To do so, add a new `mongodb` connection to `config/database.php`: You can use MongoDB either as the main database, either as a side database. To do so, add a new `mongodb` connection to `config/database.php`:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment