-
Couldn't load subscription status.
- Fork 2
RWA-4724: Decouple user creation in individual functional tests #1507
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
|
||
| public static final String EMAIL_PREFIX_GIN_INDEX = "wa-gin-index-"; | ||
|
|
||
| TestAuthenticationCredentials baseCaseworkerCredentials; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you need baseCaseworkerCredentials here?
| tribCaseworkerWithCompletionDisabled.getHeaders(),"tribunal-caseworker"); | ||
| testUsersMap.put(USER_WITH_TRIB_ROLE_COMPLETION_DISABLED,tribCaseworkerWithCompletionDisabled); | ||
|
|
||
| TestAuthenticationCredentials caseWorkerWithTribRoleWithWorkTypes = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have multiple tribunal-caseworker with WAOrganisationalRoleAssignment do we really need them all?
| private static final String ENDPOINT_BEING_TESTED = "/task/task-types"; | ||
|
|
||
| @Before | ||
| public void setUp() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we really need @before method here?
|
|
||
| private TestAuthenticationCredentials caseWorkerWithCftOrgRoles; | ||
|
|
||
| @Before |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need @before method here?
|
|
||
| private TestAuthenticationCredentials caseworkerWithNoRoles; | ||
|
|
||
| @Before |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have this @before method in few places , which I believe is uneccessary
Before creating a pull request make sure that:
Please remove this line and everything above and fill the following sections:
JIRA link (if applicable)
https://tools.hmcts.net/jira/browse/RWA-4724
Change description
Does this PR introduce a breaking change? (check one with "x")