I have a .env variable link to a Laravel config file which toggles certain section in my site. In Dusk testing I want to test that certain functionality is shown / hidden depending on this state.
How to set the config / or update dusk .env variable on each test?
I have tried Config::set() but it doesn't seem to work. Has anyone else done this before?