Closed dangenendt closed 2 years ago
@nbrabant Did you ever faced this problem?! Added new tests and now in one of those tests the api returns error 500 because the sqlite not exists 🧐🧐. Im just doing db stuff like in the other tests
Ok, right after i wrote the comment before, i found the "RefreshDatabase"-Trait. WIth this one used in the CartTest, everything works. 😒
Hello and thanks for the contribution :) Yes, the problem isn't an unknow one for me, solved by the RefreshDatabase trait (see the \App\Domain\Cart\Tests\Feature\Services\CartCommandServiceTest)
@nbrabant you have been absolutely right. Could remove many things after adding the RefreshDatabase Trait.
Closes #25
Added some new tests