From e1c336a8986759e50d3c8e15d00bad4123c1ea2e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Guillaume=20Perr=C3=A9al?= <guillaume.perreal@irstea.fr>
Date: Mon, 18 Nov 2019 16:00:19 +0100
Subject: [PATCH] =?UTF-8?q?S'assure=20qu'EntityWithDTO=20a=20une=20m=C3=A9?=
 =?UTF-8?q?thode=20d'item=20"GET".?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Pour qu'elle ait bien un template d'URI.
---
 tests/Fixtures/Entity/EntityWithDTO.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/Fixtures/Entity/EntityWithDTO.php b/tests/Fixtures/Entity/EntityWithDTO.php
index 3201503..f9821b3 100644
--- a/tests/Fixtures/Entity/EntityWithDTO.php
+++ b/tests/Fixtures/Entity/EntityWithDTO.php
@@ -28,10 +28,11 @@ use Ramsey\Uuid\Uuid;
 use Ramsey\Uuid\UuidInterface;
 
 /**
- * Class EntityWithCustomMethods.
+ * Class EntityWithDTO.
  *
  * @API\ApiResource(
  *     itemOperations={
+ *         "get",
  *         "put": {
  *             "method": "PUT",
  *             "input": InputDTO::class,
-- 
GitLab