-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add coverage for Route controller failure paths. (#1508)
This introduces new functionality to our `TableTest` to enable a `Row` to provide `clientgotesting.ReactionFunc`s to induce failures during API requests through the fake clients. For example: ```go // Induce a failure creating revisions. WantErr: true, WithReactors: []clientgotesting.ReactionFunc{ InduceFailure("create", "revisions"), }, ``` Fixes: #1501
- Loading branch information
1 parent
1ddb7b4
commit a7140e6
Showing
5 changed files
with
712 additions
and
41 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
Oops, something went wrong.