public class UserAdminResourceAcceptanceTest extends Object
Modifier and Type | Field and Description |
---|---|
RestTestFixture |
fixture |
LicenseTypeDrivenTestRule |
licenseTypeDrivenTestRule |
Constructor and Description |
---|
UserAdminResourceAcceptanceTest() |
public RestTestFixture fixture
public LicenseTypeDrivenTestRule licenseTypeDrivenTestRule
public void shouldAddUserToGroupsAndRemoveFromGroupsAsSysAdmin() throws IOException
IOException
public void shouldAddUserToGroupsAndRemoveFromGroups() throws IOException
IOException
public void shouldNotAddUserToGroupsWhenAnonymousRequest()
public void shouldReturnLicenseErrorWhileAddingUserToGroupWhenRegularUser()
public void shouldReturnNotFoundWhenAddingNonExistentUserToGroups()
public void shouldReturnBadRequestWhenAddingUserFromNonExistentDirectoryToGroups()
public void shouldReturnLicenseErrorWhileRemovingUserFromGroupWhenRegularUser()
public void shouldNotRemoveUserToGroupsWhenAnonymousRequest()
public void shouldReturnNotFoundWhenRemovingNonExistentUserFromGroups()
public void shouldReturnBadRequestWhenRemovingUserFromNonExistentDirectoryFromGroups()
public void givenAnonymousUserWhenSearchUsersThenUnauthorizedError()
public void shouldThrowErrorWhenSearchUsersAsRegularUser()
public void shouldReturnResultsOnlyFromAdministeredDirectoriesWhenSearchUsers()
public void shouldThrowErrorWhenSearchUsersFromNotAdministeredDirectories()
public void givenAdminUserWhenSearchUsersThenReturnResults()
public void givenDirectoryRestrictionWhenSearchUsersThenResultsFromRequestedDirOnly()
public void givenStatusRestrictionWhenSearchUsersThenResultsWithGivenStatusOnly()
public void whenDuplicatedUsernamesSearchUsersShouldOrderByDirectoryName()
public void givenUserNameRestrictionWhenSearchUsersThenResultsWithMatchingSubstringsOnlyReturned()
public void givenPageRestrictionWhenSearchUsersThenCorrectSubresultsAreReturned()
public void givenMutlipleRestrictionsWhenSerachUsersThenOnlyMatchingAreReturned()
Copyright © 2020 Atlassian. All rights reserved.