cyberark/secretless-broker

View on GitHub
internal/util/health_test.go

Summary

Maintainability
A
3 hrs
Test Coverage

Function Test_Health has 124 lines of code (exceeds 70 allowed). Consider refactoring.
Open

func Test_Health(t *testing.T) {
    t.Run("When nothing is proactively done", func(t *testing.T) {
        t.Run("Shows not ready", func(t *testing.T) {
            callEnableHealthCheck()
            assertHealthStatusCodeIsBad(ReadyEndpoint, t)
Severity: Major
Found in internal/util/health_test.go - About 3 hrs to fix

    There are no issues that match your filters.

    Category
    Status