MrJmpl3
2 months ago
628
5
Testing

RefreshDatabase don't clear Seeder

Posted 2 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.