From 64e8703cfc220853e128113b07bd13e7ae27331c Mon Sep 17 00:00:00 2001 From: Teryk Bellahsene Date: Mon, 15 Feb 2016 14:21:53 +0100 Subject: [PATCH] SONAR-7319 WS api/ce/task_types add IT --- it/it-tests/src/test/java/it/ce/CeWsTest.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/it/it-tests/src/test/java/it/ce/CeWsTest.java b/it/it-tests/src/test/java/it/ce/CeWsTest.java index 8fa6df6e544..ef82dec5087 100644 --- a/it/it-tests/src/test/java/it/ce/CeWsTest.java +++ b/it/it-tests/src/test/java/it/ce/CeWsTest.java @@ -63,4 +63,12 @@ public class CeWsTest { WsCe.Task firstTask = response.getTasks(0); assertThat(firstTask.getId()).isNotEmpty(); } + + @Test + public void task_types() { + WsCe.TaskTypesWsResponse response = wsClient.ce().taskTypes(); + + assertThat(response).isNotNull(); + assertThat(response.getTaskTypesCount()).isGreaterThan(0); + } } -- 2.39.5