public class TestUserWebHook extends BaseJiraFuncTest
| Modifier and Type | Field and Description |
|---|---|
static String |
DISPLAY_NAME |
static String |
EMAIL |
static com.atlassian.jira.testkit.client.restclient.UserBean |
INITIAL_USER |
static String |
USER_NAME |
static String |
USER_PASSWORD |
WebHookTester |
webHooks |
assertions, backdoor, environmentData, initClass, navigation, tester, testRule| Constructor and Description |
|---|
TestUserWebHook() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUpTest() |
void |
testCorrectParametersAreSentForUserUpdatedWebhook() |
void |
testUriVariablesAreCorrectlyProvidedForUserCreatedWebHook() |
void |
testUriVariablesAreCorrectlyProvidedForUserDeletedWebHook() |
void |
testUserUpdatedWebhookIsSentWhenDisplayNameIsChanged() |
void |
testUserUpdatedWebhookIsSentWhenEmailIsChanged() |
void |
testUserUpdatedWebhookIsSentWhenNameIsChanged() |
void |
testWebhookIsSentForCreatedUserWhenListenerComesFromModuleDescriptor() |
void |
testWebhookIsSentForCreatedUserWhenListenerIsPersisted() |
void |
testWebhookIsSentForDeletedUserWhenListenerIsPersisted() |
getAssertions, getBackdoor, getEnvironmentData, getTesterpublic static final String USER_NAME
public static final String USER_PASSWORD
public static final String DISPLAY_NAME
public static final String EMAIL
public static final com.atlassian.jira.testkit.client.restclient.UserBean INITIAL_USER
public WebHookTester webHooks
public void setUpTest()
public void testWebhookIsSentForCreatedUserWhenListenerIsPersisted()
throws Exception
Exceptionpublic void testWebhookIsSentForCreatedUserWhenListenerComesFromModuleDescriptor()
throws Exception
Exceptionpublic void testWebhookIsSentForDeletedUserWhenListenerIsPersisted()
throws Exception
Exceptionpublic void testUriVariablesAreCorrectlyProvidedForUserCreatedWebHook()
throws Exception
Exceptionpublic void testUriVariablesAreCorrectlyProvidedForUserDeletedWebHook()
throws Exception
Exceptionpublic void testUserUpdatedWebhookIsSentWhenEmailIsChanged()
throws Exception
Exceptionpublic void testUserUpdatedWebhookIsSentWhenDisplayNameIsChanged()
throws Exception
Exceptionpublic void testUserUpdatedWebhookIsSentWhenNameIsChanged()
throws Exception
ExceptionCopyright © 2002-2024 Atlassian. All Rights Reserved.