diff options
-rw-r--r-- | server/sonar-server/src/test/java/org/sonar/server/issue/ws/AddCommentActionTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-server/src/test/java/org/sonar/server/issue/ws/AddCommentActionTest.java b/server/sonar-server/src/test/java/org/sonar/server/issue/ws/AddCommentActionTest.java index 45c5f5bd814..8efac57d7be 100644 --- a/server/sonar-server/src/test/java/org/sonar/server/issue/ws/AddCommentActionTest.java +++ b/server/sonar-server/src/test/java/org/sonar/server/issue/ws/AddCommentActionTest.java @@ -179,7 +179,7 @@ public class AddCommentActionTest { assertThat(action.isPost()).isTrue(); assertThat(action.isInternal()).isFalse(); assertThat(action.params()).hasSize(2); - assertThat(action.responseExample()).isNotNull(); + assertThat(action.responseExampleAsString()).isNotEmpty(); } private TestResponse call(@Nullable String issueKey, @Nullable String commentText) { |