-
Notifications
You must be signed in to change notification settings - Fork 0
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
New delete case endpoint #14
Conversation
|
5d55a4f
to
d65d0dd
Compare
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.
This helper is used to assert in test, doing this change is like faking the assert to be always true. You should either pick as fixture a new template that has no en_US translation, or adding en_US as supported traslation as previous version of the PR did but then change the unsupported language in test__save_template__bodyTranslation_cloneExistingUnsupported to be other than en_US
For bodies, not for subjects, language is managed by the mako code, so whichever translation exist it must be written with the code we have.
Kudos, SonarCloud Quality Gate passed!
|
Case
We needed to create an endpoint to delete template test cases (in case we wrote a wrong ID, or something).
Proposed solution
We created an endpoint with a delete method to delete the specified template case.