No, you want a separate database for testing, not a database you need. Ideally, you'd use a database within memory so that after every test, the test database in memory goes poof. After all, you're not testing the data itself, you're testing whether you get the correct data based on whatever you input every time.
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us
The Laravel portal for problem solving, knowledge sharing and community building.