Skip to content

ApiTestCase add a default content-type #7670

@soyuka

Description

@soyuka

A default api platform project without formats will not support json, therefore when Symfony automatically adds a application/json content type and it fails.

$client->setDefaultOptions($defaultOptions);

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions