Skip to content

Commit 9f1b581

Browse files
authored
Add explanation for not working classess
1 parent e2e5917 commit 9f1b581

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,18 +117,29 @@ docker-compose up
117117
Database Testing
118118
-------
119119

120-
Resetting The Database After Each Test
120+
To reset the database after each test, add:
121121

122122
```php
123123
use Illuminate\Foundation\Testing\DatabaseMigrations;
124124
```
125125

126-
And inside each test classes.
126+
Also inside each test classes, add:
127127

128128
```php
129129
use DatabaseMigrations;
130130
```
131131

132+
Keep in mind that currently this isn't supported and should be removed:
133+
134+
```php
135+
use DatabaseTransactions;
136+
```
137+
and
138+
139+
```php
140+
use RefreshDatabase;
141+
```
142+
132143
Configuration
133144
-------------
134145
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`:

0 commit comments

Comments
 (0)