ory-am/hydra

View on GitHub
oauth2/introspector_test.go

Summary

Maintainability
A
3 hrs
Test Coverage

Function TestIntrospectorSDK has 114 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func TestIntrospectorSDK(t *testing.T) {
    ctx := context.Background()
    conf := internal.NewConfigurationWithDefaults()
    conf.MustSet(ctx, config.KeyScopeStrategy, "wildcard")
    conf.MustSet(ctx, config.KeyIssuerURL, "https://foobariss")
Severity: Major
Found in oauth2/introspector_test.go - About 3 hrs to fix

    There are no issues that match your filters.

    Category
    Status