Fix the test suite (broken due to an update in Api-Platform) (#1498)

This commit is contained in:
Guilhem N 2019-04-10 21:07:34 +02:00 committed by GitHub
parent 253e71a46e
commit 23b179a481
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -108,6 +108,10 @@ class TestKernel extends Kernel
'strict_variables' => '%kernel.debug%',
]);
$c->loadFromExtension('api_platform', [
'mapping' => ['paths' => ['%kernel.project_dir%/Tests/Functional/Entity']],
]);
$c->loadFromExtension('fos_rest', [
'format_listener' => [
'rules' => [