Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

disable config validator temporary #55

Closed
erth5 opened this issue Jul 20, 2022 · 4 comments
Closed

disable config validator temporary #55

erth5 opened this issue Jul 20, 2022 · 4 comments

Comments

@erth5
Copy link

erth5 commented Jul 20, 2022

I get errors by start run Laravel Dusk in a local environment
Is there a possibility to deactivate config validator temporary without remove from composer.json?
Or Did I have configure dusk ?

The config is correct but changed while dusk runs
$php artisan dusk Environment modified. Restarting server... .... Environment modified. Restarting server...

failure-Tests_Browser_DebugTest_testRidirect-0

@ash-jc-allen
Copy link
Owner

Hey! Sorry that you're having issues with this. Where are you calling the validator from? I see that you have the AppServiceProvider@boot method in your stack trace. Are you calling it from there? 🙂

@ash-jc-allen
Copy link
Owner

I'm going to close this issue for the time being so that I can keep on top of my open issues. But, if you're still having this issue, please feel free to reopen the issue. Thanks! 😄

@ash-jc-allen ash-jc-allen closed this as not planned Won't fix, can't repro, duplicate, stale Jul 23, 2022
@erth5
Copy link
Author

erth5 commented Aug 4, 2022

I found the Cause, I used

    if (App::environment() === 'local') {

        (new ConfigValidator())
            ->run();
    }

to check the config on startup, but Dusk use own environment

@ash-jc-allen
Copy link
Owner

Perfect! I'm glad that you managed to get this sorted 😄

Repository owner locked and limited conversation to collaborators Aug 4, 2022
@ash-jc-allen ash-jc-allen converted this issue into discussion #56 Aug 4, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants