Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix old tests
Right now serializer doesn't support anything beside json and xml.
Call tests with application/json instead of form data.
  • Loading branch information
ybelenko committed Apr 29, 2020
commit 11a192c075057a3d895e9d570766862bc796df9c
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
$path = str_replace($pattern, $data, $path);
{{/pathParams}}

$crawler = $client->request('{{httpMethod}}', $path);
$crawler = $client->request('{{httpMethod}}', $path{{#hasBodyParam}}, [], [], ['CONTENT_TYPE' => 'application/json']{{/hasBodyParam}});
}
{{/operation}}

Expand Down