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, getTester
public 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
Exception
public void testWebhookIsSentForCreatedUserWhenListenerComesFromModuleDescriptor() throws Exception
Exception
public void testWebhookIsSentForDeletedUserWhenListenerIsPersisted() throws Exception
Exception
public void testUriVariablesAreCorrectlyProvidedForUserCreatedWebHook() throws Exception
Exception
public void testUriVariablesAreCorrectlyProvidedForUserDeletedWebHook() throws Exception
Exception
public void testUserUpdatedWebhookIsSentWhenEmailIsChanged() throws Exception
Exception
public void testUserUpdatedWebhookIsSentWhenDisplayNameIsChanged() throws Exception
Exception
public void testUserUpdatedWebhookIsSentWhenNameIsChanged() throws Exception
Exception
Copyright © 2002-2024 Atlassian. All Rights Reserved.