MrJmpl3
4 months ago
702
5
Testing

RefreshDatabase don't clear Seeder

Posted 4 months ago by MrJmpl3

I have a seeder and one command, the command fill the data and the seeder execute the command.

RefreshDatabase don't clear the data in all tests, this generate a error with duplicate index.

Need truncate tables in my seed? Is good practice?

Please sign in or create an account to participate in this conversation.