Update Behat dependencies to friends-of-behat for sf5 compat#3768
Update Behat dependencies to friends-of-behat for sf5 compat#3768thbil wants to merge 2 commits intoapi-platform:2.5from
Conversation
|
It seems to break the tests. |
Indeed ! :) @soyuka told me he'll take a look to understand why. |
|
There is work to do to integrate behatch when switching to these libraries. I did it in our app recently but it's quite some work depending on the number of existing Behat Context, anyway it is not as easy as replacing the libs from my experience. |
|
If anyone wants to give it a try don't hesitate. We should also update the symfony2-extension package. |
|
On a first quick look, the error comes from those hacks https://github.com/api-platform/core/blob/master/features/bootstrap/HttpHeaderContext.php#L35 We can't set null anymore |
9300d58 to
b076f82
Compare
ee030f5 to
e12f8f0
Compare
Replace
behat/minkbyfriends-of-behat/mink,behat/mink-browserkit-driverbyfriends-of-behat/mink-browserkit-driver, andbehat/mink-extensionbyfriends-of-behat/mink-extensionfor sf5 compat (see Behat/MinkExtension#360 (comment)).