public class TestUserResourceWithRolesEnabled extends BaseJiraRestTest
Modifier and Type | Field and Description |
---|---|
static String |
CHARLIE_USERNAME |
static String |
FRED_USERNAME |
static String |
SUPERUSER_USERNAME |
backdoor, environmentData, initClass, initData
Constructor and Description |
---|
TestUserResourceWithRolesEnabled() |
Modifier and Type | Method and Description |
---|---|
void |
setUpInstance() |
void |
shouldAddUserToApplication() |
void |
shouldDoNothingWhenUserIsNotInApplicationAndTryToRemove() |
void |
shouldNotAddUserToApplicationWhenUserIsNotAdmin() |
void |
shouldRemoveUserFromApplication() |
void |
shouldReturnErrorWhenTryToAddUserToApplication() |
void |
shouldReturnUserRoles() |
getEnvironmentData
public static final String FRED_USERNAME
public static final String CHARLIE_USERNAME
public static final String SUPERUSER_USERNAME
public void setUpInstance()
public void shouldAddUserToApplication() throws Exception
Exception
public void shouldRemoveUserFromApplication() throws Exception
Exception
public void shouldDoNothingWhenUserIsNotInApplicationAndTryToRemove()
public void shouldReturnErrorWhenTryToAddUserToApplication()
public void shouldNotAddUserToApplicationWhenUserIsNotAdmin()
Copyright © 2002-2022 Atlassian. All Rights Reserved.