Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Caching problems with config:clear in cypress/support/index.js #51

Open
Bassadin opened this issue May 17, 2022 · 0 comments
Open

Caching problems with config:clear in cypress/support/index.js #51

Bassadin opened this issue May 17, 2022 · 0 comments

Comments

@Bassadin
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant