-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
handler_test: add testApiRequest, testMailtoEvent
This does away with the need to pass a byte array to fixture.handleApiRequest and fixture.handleMailtoEvent. This will, in turn, make it easier to write more test without messing up a byte array. Also introduces a new, but skipped, test case for a successful /subscribe request. The plan is to test the individual smaller methods more rigourously, then only add a few high-level request cases to cover major flows. Several of these will duplicate, or eliminate, cases from bin/smoke-test.sh.
- Loading branch information
Showing
1 changed file
with
101 additions
and
38 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