diff options
author | Antoine Vigneau <antoine.vigneau@sonarsource.com> | 2023-02-08 10:39:00 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2023-02-10 20:02:45 +0000 |
commit | 99d377c6d55a96d9d3cbea55c48df63c906781d4 (patch) | |
tree | ba5671dde2a8e384ab9f87957420348d59cff4d3 /sonar-ws/src/test/java | |
parent | a582f329240c1a204abf3fb611a3194160b7d6ad (diff) | |
download | sonarqube-99d377c6d55a96d9d3cbea55c48df63c906781d4.tar.gz sonarqube-99d377c6d55a96d9d3cbea55c48df63c906781d4.zip |
SONAR-18396 - Support user soft deletion on Azure through SCIM
Diffstat (limited to 'sonar-ws/src/test/java')
-rw-r--r-- | sonar-ws/src/test/java/org/sonarqube/ws/client/ServiceTester.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sonar-ws/src/test/java/org/sonarqube/ws/client/ServiceTester.java b/sonar-ws/src/test/java/org/sonarqube/ws/client/ServiceTester.java index 0ee778dde06..6898c537894 100644 --- a/sonar-ws/src/test/java/org/sonarqube/ws/client/ServiceTester.java +++ b/sonar-ws/src/test/java/org/sonarqube/ws/client/ServiceTester.java @@ -147,7 +147,7 @@ public class ServiceTester<T extends BaseService> extends ExternalResource { return new RequestAssert<>(getRequest); } - public RequestAssert<PostRequest> assertThat(PostRequest postRequest) { + public RequestAssert<?> assertThat(PostRequest postRequest) { return new RequestAssert<>(postRequest); } @@ -163,7 +163,7 @@ public class ServiceTester<T extends BaseService> extends ExternalResource { public PostRequest getPostRequest() { assertSinglePostCall(); - return postCalls.iterator().next().getRequest(); + return (PostRequest) postCalls.iterator().next().getRequest(); } @CheckForNull @@ -198,7 +198,7 @@ public class ServiceTester<T extends BaseService> extends ExternalResource { } @Immutable - public static final class PostCall extends CallWithParser<PostRequest> { + public static final class PostCall extends CallWithParser<RequestWithPayload<PostRequest>> { public PostCall(PostRequest postRequest, @Nullable Parser<?> parser) { super(postRequest, parser); |