ory-am/hydra

View on GitHub
client/sdk_test.go

Summary

Maintainability
B
4 hrs
Test Coverage

Function TestClientSDK has 125 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func TestClientSDK(t *testing.T) {
    ctx := context.Background()
    conf := internal.NewConfigurationWithDefaults()
    conf.MustSet(ctx, config.KeySubjectTypesSupported, []string{"public"})
    conf.MustSet(ctx, config.KeyDefaultClientScope, []string{"foo", "bar"})
Severity: Major
Found in client/sdk_test.go - About 4 hrs to fix

    There are no issues that match your filters.

    Category
    Status