Laravel Pest – Refresh Database for one certain test in a file
I’m using Laravel with Pest. I have a file contains three test and out of which only one test involves db operation so I want to make sure db is only refreshed for that one test. So, I don’t want to use uses(RefreshDatabase::class);
on the top file file. What I did is: