From: Teryk Bellahsene Date: Mon, 15 Feb 2016 13:21:53 +0000 (+0100) Subject: SONAR-7319 WS api/ce/task_types add IT X-Git-Tag: 5.5-M2~25 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=64e8703cfc220853e128113b07bd13e7ae27331c;p=sonarqube.git SONAR-7319 WS api/ce/task_types add IT --- 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); + } }