aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws-client/src/test
diff options
context:
space:
mode:
authorFabrice Bellingard <bellingard@gmail.com>2011-05-05 15:09:34 +0200
committerFabrice Bellingard <bellingard@gmail.com>2011-05-05 15:09:34 +0200
commit1f6a6958150484a5a0dc766b4d794f6ae4bb839a (patch)
treefdf5fd91b865c0a85b0b1f86df4e5dd0c958e409 /sonar-ws-client/src/test
parent22e260133fe8ed951c80b8df1b48059918a94fa1 (diff)
downloadsonarqube-1f6a6958150484a5a0dc766b4d794f6ae4bb839a.tar.gz
sonarqube-1f6a6958150484a5a0dc766b4d794f6ae4bb839a.zip
SONAR-2381 Fix error in Review WS client
Diffstat (limited to 'sonar-ws-client/src/test')
-rw-r--r--sonar-ws-client/src/test/java/org/sonar/wsclient/services/ReviewQueryTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-ws-client/src/test/java/org/sonar/wsclient/services/ReviewQueryTest.java b/sonar-ws-client/src/test/java/org/sonar/wsclient/services/ReviewQueryTest.java
index bf692cbbcb5..c347fac60b3 100644
--- a/sonar-ws-client/src/test/java/org/sonar/wsclient/services/ReviewQueryTest.java
+++ b/sonar-ws-client/src/test/java/org/sonar/wsclient/services/ReviewQueryTest.java
@@ -33,7 +33,7 @@ public class ReviewQueryTest extends QueryTestCase {
Resource resource = mock(Resource.class);
when(resource.getId()).thenReturn(69);
ReviewQuery query = ReviewQuery.createForResource(resource);
- assertThat(query.getUrl(), is("/api/reviews?id=69&"));
+ assertThat(query.getUrl(), is("/api/reviews?resources=69&"));
assertThat(query.getModelClass().getName(), is(Review.class.getName()));
}