gitlabhq/gitlab-shell

View on GitHub
internal/gitlabnet/twofactorrecover/client_test.go

Summary

Maintainability
A
1 hr
Test Coverage

Function initialize has 54 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func initialize(t *testing.T) {
    requests = []testserver.TestRequestHandler{
        {
            Path: "/api/v4/internal/two_factor_recovery_codes",
            Handler: func(w http.ResponseWriter, r *http.Request) {
Severity: Minor
Found in internal/gitlabnet/twofactorrecover/client_test.go - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status