-
Notifications
You must be signed in to change notification settings - Fork 61
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
Symfony session parameters are not passed to AbstractBrowser #124
Comments
Same errors ! To fix it, I had to change my Behat\MinkExtension and remove the "base_url". So now I have this configuration in my behat.yml.dist:
and my composer looks like:
EDIT: I think the documentation need to be completed and insist in the fact that the base_url for mink has to be omitted ! |
I found that the typed parameter of method setServerParameter was the problem and just adding a "/" is a solution : |
@n1coh nice catch! Indeed, it works for us at Sylius with |
I try to migrate to Symfony 5 with latest FOB dependencies.
I defined the a default behat config :
behat.yml
But I got this error :
Argument 2 passed to Symfony\Component\BrowserKit\AbstractBrowser::setServerParameter() must be of the type string, null given, called in /app/vendor/friends-of-behat/mink-browserkit-driver/src/BrowserKitDriver.php on line 58
I don't know if I'm doing bad or if this is a bug ...
Can you help me please.
The text was updated successfully, but these errors were encountered: