ory-am/hydra

View on GitHub
oauth2/session_custom_claims_test.go

Summary

Maintainability
B
5 hrs
Test Coverage

Function TestCustomClaimsInSession has 151 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func TestCustomClaimsInSession(t *testing.T) {
    ctx := context.Background()
    c := internal.NewConfigurationWithDefaults()

    t.Run("no_custom_claims", func(t *testing.T) {
Severity: Major
Found in oauth2/session_custom_claims_test.go - About 5 hrs to fix

    There are no issues that match your filters.

    Category
    Status