diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2017-08-28 22:47:50 +0200 |
---|---|---|
committer | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2017-09-13 15:50:48 +0200 |
commit | 5b9d6018431f09d090b71fa3179a9d9bed5dc0ab (patch) | |
tree | e46067ff924f4a700434bc05db7ca9709337d6b6 /sonar-ws/src/test | |
parent | af99398a59677d6a1d8d94fbf3529327ac891ef2 (diff) | |
download | sonarqube-5b9d6018431f09d090b71fa3179a9d9bed5dc0ab.tar.gz sonarqube-5b9d6018431f09d090b71fa3179a9d9bed5dc0ab.zip |
SONAR-9739 add protobuf response to WS api/system/status
Diffstat (limited to 'sonar-ws/src/test')
-rw-r--r-- | sonar-ws/src/test/java/org/sonarqube/ws/client/system/SystemServiceTest.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sonar-ws/src/test/java/org/sonarqube/ws/client/system/SystemServiceTest.java b/sonar-ws/src/test/java/org/sonarqube/ws/client/system/SystemServiceTest.java index d9fe6011c4f..a473bda635e 100644 --- a/sonar-ws/src/test/java/org/sonarqube/ws/client/system/SystemServiceTest.java +++ b/sonar-ws/src/test/java/org/sonarqube/ws/client/system/SystemServiceTest.java @@ -46,6 +46,16 @@ public class SystemServiceTest { } @Test + public void test_status() throws Exception { + underTest.status(); + + GetRequest getRequest = serviceTester.getGetRequest(); + serviceTester.assertThat(getRequest) + .hasPath("status") + .andNoOtherParam(); + } + + @Test public void test_restart() throws Exception { underTest.restart(); |