cyberark/secretless-broker

View on GitHub
pkg/secretless/config/v1/v2_conversion_test.go

Summary

Maintainability
A
1 hr
Test Coverage

Function TestV1HttpHandlerConversion has 72 lines of code (exceeds 70 allowed). Consider refactoring.
Open

func TestV1HttpHandlerConversion(t *testing.T) {
    t.Run("connectorConfig field maps correctly", func(t *testing.T) {
        v1Cfg := v1HttpExample()
        v2Cfg, err := NewV2Config(v1Cfg)
        assert.NoError(t, err)
Severity: Minor
Found in pkg/secretless/config/v1/v2_conversion_test.go - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status