public class TestProjectTypeResource extends BaseJiraRestTest
backdoor, environmentData, initClass, initData
Constructor and Description |
---|
TestProjectTypeResource() |
getEnvironmentData
public void setUp()
public void testGetAllProjectTypesReturnsAllTypesWhenAnonymousCanBrowseProjectsWithFFDisabled()
public void testGetAllProjectTypesReturnsUnauthorisedStatusWhenAnonymousCantBrowseProjectsWithFFDisabled()
public void testGetAllProjectTypesReturnsAllTypesWhenUserIsLoggedInWithFFDisabled()
public void testGetAllProjectTypesReturnsAllTypesWhenUserIsAnonymousWithFFEnabled()
public void testGetAllProjectTypesReturnsAllTypesWhenUserIsLoggedInWithFFEnabled()
public void testGetProjectTypeByKeyReturnsTheExpectedTypeWhenItExistsAndAnonymousCanBrowseProjectsWithFFDisabled()
public void testGetProjectTypeByKeyReturnsUnauthorisedStatusWhenItExistsAndAnonymousCantBrowseProjectsWithFFDisabled()
public void testGetProjectTypeByKeyReturnsTheExpectedTypeWhenUserIsLoggedInWithFFDisabled()
public void testGetProjectTypeByKeyReturnsTheExpectedTypeWhenItExistsAndUserIsAnonymousWithFFEnabled()
public void testGetProjectTypeByKeyReturnsTheExpectedTypeWhenUserIsLoggedInWithFFEnabled()
public void testGetProjectTypeByKeyReturns404WhenItDoesNotExistAndUserIsLoggedInWithFFEnabled()
public void testGetAccessibleProjectTypeReturns404IfTheUserIsLoggedInAndDoesNotHaveAccessToIt()
public void testGetAccessibleProjectTypeReturns401IfTheUserIsNotLoggedIn()
Copyright © 2002-2024 Atlassian. All Rights Reserved.