diff options
author | Julien Lancelot <julien.lancelot@gmail.com> | 2013-06-20 16:39:40 +0200 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@gmail.com> | 2013-06-20 16:39:40 +0200 |
commit | 19e30a139b746ff2cbf0b2f07b3aab5b345d0f48 (patch) | |
tree | ca883a64da2195522b274c877b10e5210a146fd7 /sonar-ws-client | |
parent | 4da756b9cd373ea4b589e00381692631aa5f45de (diff) | |
download | sonarqube-19e30a139b746ff2cbf0b2f07b3aab5b345d0f48.tar.gz sonarqube-19e30a139b746ff2cbf0b2f07b3aab5b345d0f48.zip |
Add some UT
Diffstat (limited to 'sonar-ws-client')
-rw-r--r-- | sonar-ws-client/src/test/java/org/sonar/wsclient/issue/internal/DefaultActionPlanClientTest.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sonar-ws-client/src/test/java/org/sonar/wsclient/issue/internal/DefaultActionPlanClientTest.java b/sonar-ws-client/src/test/java/org/sonar/wsclient/issue/internal/DefaultActionPlanClientTest.java index 2e74730df14..540253a9bd5 100644 --- a/sonar-ws-client/src/test/java/org/sonar/wsclient/issue/internal/DefaultActionPlanClientTest.java +++ b/sonar-ws-client/src/test/java/org/sonar/wsclient/issue/internal/DefaultActionPlanClientTest.java @@ -48,6 +48,7 @@ public class DefaultActionPlanClientTest { HttpRequestFactory requestFactory = new HttpRequestFactory(httpServer.url()); httpServer.doReturnBody("{\"actionPlans\": [{\"key\": \"382f6f2e-ad9d-424a-b973-9b065e04348a\",\n" + "\"name\": \"Long term\",\n" + + "\"desc\": \"Long term acton plan\",\n" + "\"status\": \"CLOSED\",\n" + "\"project\": \"com.sonarsource.it.samples:simple-sample\",\n" + "\"userLogin\": \"admin\",\n" + @@ -65,6 +66,7 @@ public class DefaultActionPlanClientTest { ActionPlan actionPlan = actionPlans.get(0); assertThat(actionPlan.key()).isEqualTo("382f6f2e-ad9d-424a-b973-9b065e04348a"); assertThat(actionPlan.name()).isEqualTo("Long term"); + assertThat(actionPlan.description()).isEqualTo("Long term acton plan"); assertThat(actionPlan.project()).isEqualTo("com.sonarsource.it.samples:simple-sample"); assertThat(actionPlan.status()).isEqualTo("CLOSED"); assertThat(actionPlan.userLogin()).isEqualTo("admin"); |