aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2017-10-12 13:38:17 +0200
committerTeryk Bellahsene <teryk@users.noreply.github.com>2017-10-16 09:27:14 +0200
commit7ee2cc6372f66afc24e0fd4f780bab8dfcdb4409 (patch)
tree7f4f0a37f4c4478305f65a559b08ba7907b26b07 /tests
parent61c8a63a9cd8a04c2bc9fd228d12e7d6544ded13 (diff)
downloadsonarqube-7ee2cc6372f66afc24e0fd4f780bab8dfcdb4409.tar.gz
sonarqube-7ee2cc6372f66afc24e0fd4f780bab8dfcdb4409.zip
SONAR-7734 Clarify message when one of several parameters is required
Diffstat (limited to 'tests')
-rw-r--r--tests/src/test/java/org/sonarqube/tests/duplication/DuplicationsTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/test/java/org/sonarqube/tests/duplication/DuplicationsTest.java b/tests/src/test/java/org/sonarqube/tests/duplication/DuplicationsTest.java
index 710fd8de0d5..a8124972636 100644
--- a/tests/src/test/java/org/sonarqube/tests/duplication/DuplicationsTest.java
+++ b/tests/src/test/java/org/sonarqube/tests/duplication/DuplicationsTest.java
@@ -183,7 +183,7 @@ public class DuplicationsTest {
WsResponse result = adminWsClient.wsConnector().call(new GetRequest("api/duplications/show"));
assertThat(result.code()).isEqualTo(HTTP_BAD_REQUEST);
- assertThat(result.content()).contains("Either 'uuid' or 'key' must be provided, not both");
+ assertThat(result.content()).contains("Either 'uuid' or 'key' must be provided");
}
}