Skip to content

Conversation

@adityadwadasi
Copy link
Contributor

Before creating a pull request make sure that:

  • commit messages are meaningful and follow good commit message guidelines
  • README and other documentation has been updated / added (if needed)
  • tests have been updated / new tests has been added (if needed)

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")

[ ] Yes
[ ] No


public static final String EMAIL_PREFIX_GIN_INDEX = "wa-gin-index-";

TestAuthenticationCredentials baseCaseworkerCredentials;
Copy link
Contributor

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 =
Copy link
Contributor

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() {
Copy link
Contributor

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
Copy link
Contributor

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
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants