-
Notifications
You must be signed in to change notification settings - Fork 4
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
SSCSCI-1545 ibc cases not autolisted #4310
base: master
Are you sure you want to change the base?
Conversation
CCD diff reportNo change |
Integration Tests results 82 files ±0 82 suites ±0 9m 4s ⏱️ -7s Results for commit 439f92a. ± Comparison against base commit 5a932cf. This pull request removes 9 and adds 9 tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
CCD diff reportNo change |
autolisted if ibc case and overridden to yes not autolisted if ibc case and overridden to no
CCD diff reportNo change |
CCD diff reportNo change |
@@ -39,6 +35,18 @@ public static boolean shouldBeAutoListed(@Valid SscsCaseData caseData, Reference | |||
return isYes(overrideFields.getAutoList()); | |||
} | |||
|
|||
if (Objects.equals(caseData.getBenefitCode(), "022")) { |
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.
I would think you can do this in a single if statement:
if ("022".equals(caseData.getBenefitCode() ||"067".equals(...) || caseData.isIbcCase()) {
return false;
}
But also, are those strings "022" / "067" available as enums anywhere?
CCD diff reportNo change |
CCD diff reportNo change |
CCD diff reportNo change |
CCD diff reportNo change |
See https://tools.hmcts.net/jira/browse/SSCSCI-1545
Change description
Testing done
Checklist