-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Write new tests for Update API endpoint (#259)
Switch to table-driven tests, make it more clear what each test is testing, and add additional test coverage. All tests pass to document the current behavior of the Update endpoint. Some of the behavior of Update is incorrect; tests for those are commented with TODOs indicating what their correct behavior should be.
- Loading branch information
Showing
2 changed files
with
276 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters