-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This fixes two problems in the example tests: 1. They apparently weren't being picked up because of the underscore prefix of the `_examples` folder ; 2. On `TestApi`, the test's `ResponseRecorder` instance kept in the `suite` struct wasn't being reset which was leading to it mixing up responses from different test cases, hence making tests fail (the failures weren't being caught by CI because of the underscore issue outlined above). This PR fixes above issues by renaming `_examples` to `examples` (1) and by adding a `Before` hook in the tests to reset the response recorder (2).
- Loading branch information
Showing
9 changed files
with
13 additions
and
6 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
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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