Skip to content

Commit fc8ed22

Browse files
Merge branch 'master' of https://github.com/momcilovicluka/plog
2 parents dd4e749 + 5e3590f commit fc8ed22

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

+8
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,14 @@ php artisan db:seed
8282
```
8383

8484
### 7. Test the application! 🧪
85+
Before running the tests, make sure to createa a db file dedicated to testing.
86+
87+
Failing to do so will force the tests to run on default database resulting in an ***empty database after testing***.
88+
89+
You can create a db file for testing like so(it's already linked in ***env.testing***):
90+
```bash
91+
touch database/testing.sqlite
92+
```
8593
To run all the tests use:
8694
```bash
8795
php artisan test

0 commit comments

Comments
 (0)