Skip to content

Refactor tests related to kid and keyid#545

Merged
ziluvatar merged 1 commit intoauth0:masterfrom
MitMaro:kid-header-tests
Nov 2, 2018
Merged

Refactor tests related to kid and keyid#545
ziluvatar merged 1 commit intoauth0:masterfrom
MitMaro:kid-header-tests

Conversation

@MitMaro
Copy link
Copy Markdown
Contributor

@MitMaro MitMaro commented Oct 24, 2018

Next PR for #492

This change extracts all tests in the existing test files related to kid and keyid into a single test file. Several other tests are also added that were missing from the existing files.

All references to keyid and kid have been removed from the existing test files.

As always, suggestions or missing tests are more than welcome!

Coverage Master

=============================== Coverage summary ===============================
Statements   : 97.07% ( 232/239 )
Branches     : 97.57% ( 201/206 )
Functions    : 100% ( 23/23 )
Lines        : 97.46% ( 230/236 )
================================================================================

Coverage Branch

=============================== Coverage summary ===============================
Statements   : 97.07% ( 232/239 )
Branches     : 97.57% ( 201/206 )
Functions    : 100% ( 23/23 )
Lines        : 97.46% ( 230/236 )
================================================================================

Thie change extracts the tests related to the kid header and the keyid
option into a single file. Additonal tests were added that were missing.
@MitMaro
Copy link
Copy Markdown
Contributor Author

MitMaro commented Oct 24, 2018

I'm happy to finally be able to delete test/keyid.tests.js as it was never properly testing anything.

@ziluvatar ziluvatar merged commit 8864542 into auth0:master Nov 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants