-
-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: added codes and reasons to as many errors as possible
- Loading branch information
Showing
21 changed files
with
818 additions
and
543 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
import { test, rejects, flow, modules } from '../runner.js' | ||
|
||
for (const module of modules('discovery-issuer-mismatch')) { | ||
test.serial(rejects(flow()), module, '"response" body "issuer" does not match "expectedIssuer"') | ||
test.serial( | ||
rejects(flow()), | ||
module, | ||
'"response" body "issuer" property does not match the expected value', | ||
) | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import { test, rejects, flow, modules } from '../runner.js' | ||
|
||
for (const module of modules('userinfo-invalid-sub')) { | ||
test.serial(rejects(flow()), module, 'unexpected "response" body "sub" value') | ||
test.serial(rejects(flow()), module, 'unexpected "response" body "sub" property value') | ||
} |
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.