internal/gitlabnet/twofactorrecover/client_test.go
Function initialize
has 54 lines of code (exceeds 50 allowed). Consider refactoring. Open
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) {