ory-am/hydra

View on GitHub
oauth2/flowctx/encoding_test.go

Summary

Maintainability
A
2 hrs
Test Coverage

Function TestEncoding has 94 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func TestEncoding(t *testing.T) {
    f := flow.Flow{
        ID:                uuid.Must(uuid.NewV4()).String(),
        NID:               uuid.Must(uuid.NewV4()),
        RequestedScope:    []string{"scope1", "scope2"},
Severity: Major
Found in oauth2/flowctx/encoding_test.go - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status