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.
There's no shortage of content at Laracasts. In fact, you could watch nonstop
for days upon days, and still not see everything!