-
Notifications
You must be signed in to change notification settings - Fork 2
CCM-12183 Component test for letter PDF #367
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: main
Are you sure you want to change the base?
Conversation
| }) => { | ||
| const id = "non-existing-id-12345"; | ||
| const headers = createValidRequestHeaders(); | ||
| const response = await request.get(`${baseUrl}/${SUPPLIER_LETTERS}/${id}`, { |
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 think this should end in /data? Otherwise it's calling the GET /letter/ endpoint to grab the letter details.
I think we should also add a comment here like TODO:CCM-14318 Remove this test, as this test needs to be removed when we fix the bug (it will be tested by the one above, 404)
Description
Context
Type of changes
Checklist
Sensitive Information Declaration
To ensure the utmost confidentiality and protect your and others privacy, we kindly ask you to NOT including PII (Personal Identifiable Information) / PID (Personal Identifiable Data) or any other sensitive data in this PR (Pull Request) and the codebase changes. We will remove any PR that do contain any sensitive information. We really appreciate your cooperation in this matter.