ory-am/hydra

View on GitHub
oauth2/trust/manager_test_helpers.go

Summary

Maintainability
A
3 hrs
Test Coverage

Function TestHelperGrantManagerCreateGetDeleteGrant has 113 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func TestHelperGrantManagerCreateGetDeleteGrant(t1 GrantManager, km jwk.Manager, parallel bool) func(t *testing.T) {
    tokenServicePubKey1 := jose.JSONWebKey{}
    tokenServicePubKey2 := jose.JSONWebKey{}
    mikePubKey := jose.JSONWebKey{}

Severity: Major
Found in oauth2/trust/manager_test_helpers.go - About 3 hrs to fix

    There are no issues that match your filters.

    Category
    Status