|
cy.artisan('config:clear', {}, { log: false }); |
I was having problems with Laravel using fallback DB credentials randomly instead of my .env. This results in 500 Errors when trying to get the csrf token, for example. Once I changed these lines from
cy.artisan('config:clear', {}, { log: false });
to
cy.artisan('config:cache', {}, { log: false });
everything seemed to be working. Is there anything I'm missing?