Skip to content

Commit

Permalink
Merge pull request #31 from jolelievre/image-content-type
Browse files Browse the repository at this point in the history
Add content type in image URLs protected tests
  • Loading branch information
matthieu-rolland authored Jun 24, 2024
2 parents aa7b18e + 731c1df commit e874db0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/Integration/ApiPlatform/ProductEndpointTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ public function getProtectedEndpoints(): iterable
yield 'upload image endpoint' => [
'POST',
'/product/1/image',
'multipart/form-data',
];

yield 'get image endpoint' => [
Expand All @@ -91,6 +92,7 @@ public function getProtectedEndpoints(): iterable
yield 'update image endpoint' => [
'POST',
'/product/image/1',
'multipart/form-data',
];

yield 'list images endpoint' => [
Expand Down

0 comments on commit e874db0

Please sign in to comment.