You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Need to return a 422_UNPROCESSABLE_ENTITY instaed of 402 NO CONTENT if someone tries to update the snapshot id on a Filing that doesn't exist.
Ensure the response details/content returns a meaningful message stating the LEI and period that was attempting to be updated does not exist (with the actual lei and period from the URL)
Update pytest for test_patch_filing to check for 422 and the return message
The text was updated successfully, but these errors were encountered:
#118)
…not exist
[Short description explaining the high-level reason for the pull
request]
closes [#112 ](#112)
## Additions
-
## Removals
-
## Changes
-
## Testing
1.
## Screenshots
## Notes
-
## Todos
-
## Checklist
- [ ] PR has an informative and human-readable title
- [ ] Changes are limited to a single goal (no scope creep)
- [ ] Code can be automatically merged (no conflicts)
- [ ] Code follows the standards laid out in the [development
playbook](https://github.com/cfpb/development)
- [ ] Passes all existing automated tests
- [ ] Any _change_ in functionality is tested
- [ ] New functions are documented (with a description, list of inputs,
and expected output)
- [ ] Placeholder code is flagged / future todos are captured in
comments
- [ ] Visually tested in supported browsers and devices (see checklist
below 👇)
- [ ] Project documentation has been updated (including the "Unreleased"
section of the CHANGELOG)
- [ ] Reviewers requested with the [Reviewers
tool](https://help.github.com/articles/requesting-a-pull-request-review/)
:arrow_right:
## Testing checklist
### Browsers
- [ ] Chrome
- [ ] Firefox
- [ ] Safari
- [ ] Internet Explorer 8, 9, 10, and 11
- [ ] Edge
- [ ] iOS Safari
- [ ] Chrome for Android
### Accessibility
- [ ] Keyboard friendly
- [ ] Screen reader friendly
### Other
- [ ] Is useable without CSS
- [ ] Is useable without JS
- [ ] Flexible from small to large screens
- [ ] No linting errors or warnings
- [ ] JavaScript tests are passing
Co-authored-by: Nargis Sultani <[email protected]>
Need to return a 422_UNPROCESSABLE_ENTITY instaed of 402 NO CONTENT if someone tries to update the snapshot id on a Filing that doesn't exist.
Ensure the response details/content returns a meaningful message stating the LEI and period that was attempting to be updated does not exist (with the actual lei and period from the URL)
Update pytest for test_patch_filing to check for 422 and the return message
The text was updated successfully, but these errors were encountered: