Skip to content
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

Licence Import Supplementary billing test endpoint #1435

Merged
merged 9 commits into from
Oct 22, 2024

Conversation

Beckyrose200
Copy link
Contributor

https://eaflood.atlassian.net/browse/WATER-4591

Due to the fact the above ticket is happening during the licence import (which is automated), we need to add a test endpoint to allow the QA team to test the new supplementary flagging functionality. The process of flagging a licence for supplementary billing only happens if there is a new end date added to the licence (lapsed, expired or revoked). The imported licence is looking at NALD data, so built into our testing endpoint is functionality that means you can pass a new licence end date and it will act as though that is the imported NALD data.

https://eaflood.atlassian.net/browse/WATER-4591

Due to the fact the above ticket is happening during the licence import (which is automated), we need to add a test endpoint to allow the QA team to test the new supplementary flagging functionality.
The process of flagging a licence for supplementary billing only happens if there is a new end date added to the licence (lapsed, expired or revoked). The imported licence is looking at NALD data, so built into our testing endpoint is functionality that means you can pass a new licence end date and it will act as though that is the imported NALD data.
@Beckyrose200 Beckyrose200 added the enhancement New feature or request label Oct 21, 2024
@Beckyrose200 Beckyrose200 self-assigned this Oct 21, 2024
@Beckyrose200 Beckyrose200 marked this pull request as ready for review October 21, 2024 13:35
@Beckyrose200
Copy link
Contributor Author

Beckyrose200 commented Oct 21, 2024

Ignore Sonar Cloud complaining, there are no tests for this endpoint as it will only get deleted once the ticket has been tested by QA

Copy link
Member

@Cruikshanks Cruikshanks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to go on the /check route and controller. That is the one we have designated for testing.

app/controllers/check.controller.js Outdated Show resolved Hide resolved
app/controllers/check.controller.js Outdated Show resolved Hide resolved
Copy link
Member

@Cruikshanks Cruikshanks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Beckyrose200 Beckyrose200 merged commit 606a8ec into main Oct 22, 2024
6 checks passed
@Beckyrose200 Beckyrose200 deleted the licence-ended-testing-end-point branch October 22, 2024 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants