cyberark/secretless-broker

View on GitHub
internal/plugin/connectors/tcp/proxy_service_test.go

Summary

Maintainability
B
5 hrs
Test Coverage

Function TestProxyService_Start has 178 lines of code (exceeds 70 allowed). Consider refactoring.
Open

func TestProxyService_Start(t *testing.T) {
    t.Run("stopped proxy service cannot be restarted", func(t *testing.T) {
        connector := mock.NewConnector()
        credentialRetriever := mock.NewCredentialRetriever()
        listener := mock.NewListener()
Severity: Major
Found in internal/plugin/connectors/tcp/proxy_service_test.go - About 5 hrs to fix

    There are no issues that match your filters.

    Category
    Status