public class TestPrioritySchemeResource extends BaseJiraFuncTest
Modifier and Type | Field and Description |
---|---|
static String |
NO_PROJECT_PERMISSIONS_ERROR |
assertions, backdoor, environmentData, initClass, navigation, tester, testRule
Constructor and Description |
---|
TestPrioritySchemeResource() |
Modifier and Type | Method and Description |
---|---|
void |
getSchemeForProjectShouldNotWorkForNormalUsers() |
void |
getSchemeForProjectShouldWorkForProjectAdmins() |
void |
setUpTest() |
void |
shouldNotAllowAssignWithMigration() |
void |
shouldNotAllowEditWithMigration() |
void |
shouldReturnProperResponseCodeWhenProjectIsNotFound() |
void |
shouldReturnProperResponseCodeWhenProjectIsNotFoundAndUserDoesNotHaveViewProjectPermission() |
void |
shouldReturnProperResponseCodeWhenProjectIsNotFoundAndUserIsNotGlobalAdmin() |
void |
shouldReturnProperResponseCodeWhenSchemeIsNotFound() |
void |
testAssignAndUnassign() |
void |
testDeleteScheme() |
void |
testGetAllSchemes() |
void |
testGetAllSchemesWithPagination() |
void |
testGetAllWithProjectKeys() |
void |
testSchemeCreate() |
void |
testSchemeEditing() |
void |
testSchemeEditingValidation() |
getAssertions, getBackdoor, getEnvironmentData, getTester
public static final String NO_PROJECT_PERMISSIONS_ERROR
public void setUpTest()
public void testGetAllSchemesWithPagination() throws Exception
Exception
public void testDeleteScheme()
public void testAssignAndUnassign()
public void testSchemeCreate()
public void testSchemeEditing()
public void testSchemeEditingValidation()
public void getSchemeForProjectShouldNotWorkForNormalUsers()
public void getSchemeForProjectShouldWorkForProjectAdmins()
public void shouldNotAllowAssignWithMigration()
public void shouldReturnProperResponseCodeWhenProjectIsNotFoundAndUserIsNotGlobalAdmin()
public void shouldReturnProperResponseCodeWhenProjectIsNotFoundAndUserDoesNotHaveViewProjectPermission()
public void shouldNotAllowEditWithMigration()
public void testGetAllWithProjectKeys()
public void shouldReturnProperResponseCodeWhenSchemeIsNotFound()
public void shouldReturnProperResponseCodeWhenProjectIsNotFound()
Copyright © 2002-2021 Atlassian. All Rights Reserved.