-
-
Notifications
You must be signed in to change notification settings - Fork 610
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sa: streamline use of dates in test (#7924)
Add mustTime and mustTimestamp, each of which parses a time in a simple format and panics if it cannot be parsed. Also, make the intent of each check in the GetRevokedCerts tests a little clearer by starting with a basicRequest, and then defining variations in terms of that request. Fix the "different issuer" case in `TestGetRevokedCerts`, which was not actually setting a different issuer.
- Loading branch information
Showing
1 changed file
with
63 additions
and
79 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