diff options
author | Teryk Bellahsene <teryk.bellahsene@sonarsource.com> | 2016-07-06 02:02:47 +0200 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2016-07-12 10:16:53 +0200 |
commit | 2990ede97d1cedfd256869ab448dcd2864d7a6df (patch) | |
tree | ea693a7c5c3cca8c3347e26b9eaaa129de3b0c2a /it/it-tests/src | |
parent | a51fcb2ad90e74769b977d290213e85eb4ead443 (diff) | |
download | sonarqube-2990ede97d1cedfd256869ab448dcd2864d7a6df.tar.gz sonarqube-2990ede97d1cedfd256869ab448dcd2864d7a6df.zip |
SONAR-7835 WS permissions/users return permissions in response
Diffstat (limited to 'it/it-tests/src')
-rw-r--r-- | it/it-tests/src/test/java/it/authorisation/PermissionSearchTest.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/it/it-tests/src/test/java/it/authorisation/PermissionSearchTest.java b/it/it-tests/src/test/java/it/authorisation/PermissionSearchTest.java index 24e0fede38b..7f9fb8c7b61 100644 --- a/it/it-tests/src/test/java/it/authorisation/PermissionSearchTest.java +++ b/it/it-tests/src/test/java/it/authorisation/PermissionSearchTest.java @@ -45,7 +45,7 @@ import org.sonarqube.ws.client.permission.RemoveGroupFromTemplateWsRequest; import org.sonarqube.ws.client.permission.RemoveProjectCreatorFromTemplateWsRequest; import org.sonarqube.ws.client.permission.RemoveUserFromTemplateWsRequest; import org.sonarqube.ws.client.permission.SearchTemplatesWsRequest; -import org.sonarqube.ws.client.permission.OldUsersWsRequest; +import org.sonarqube.ws.client.permission.UsersWsRequest; import util.QaOnly; import static org.assertj.core.api.Assertions.assertThat; @@ -106,8 +106,7 @@ public class PermissionSearchTest { assertThat(searchGlobalPermissionsWsResponse.getPermissionsList().get(0).getGroupsCount()).isEqualTo(2); WsPermissions.UsersWsResponse users = permissionsWsClient - .users(new OldUsersWsRequest() - .setPermission("admin")); + .users(new UsersWsRequest().setPermission("admin")); assertThat(users.getUsersList()).extracting("login").contains(LOGIN); WsPermissions.WsGroupsResponse groupsResponse = permissionsWsClient |