Scenario: Create a Project
When I add "Accept" header equal to "application/json"
And I add "Accept-Language" header equal to "xx"
And I add "Content-Type" header equal to "application/json"
And I send a "POST" request to "/projects" with body:
"""
{"name": "test"}
"""
There is controller in the application with Request $request object.
There is call in controller: dump($request->headers).
Steps to reproduce:
behatch/contexts: dev-master (version 20c5910)
Scenario:
There is controller in the application with
Request $request
object. There is call in controller:dump($request->headers)
.Actual result: Output is:
Expected result: Output is:
Notes:
As you see all headers, except
content-type
are set correctly.Might be related:
34
163