Browse Source

test: make auth method cli crud test helper ignore the default namespace (#7799)

pull/7800/head
R.B. Boyer 5 years ago committed by GitHub
parent
commit
db870ba92b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      command/acl/authmethod/create/authmethod_create_test.go
  2. 4
      command/acl/authmethod/update/authmethod_update_test.go

4
command/acl/authmethod/create/authmethod_create_test.go

@ -516,6 +516,10 @@ func getTestMethod(t *testing.T, client *api.Client, methodName string) *api.ACL
method.CreateIndex = 0
method.ModifyIndex = 0
if method.Namespace == "default" {
method.Namespace = ""
}
return method
}

4
command/acl/authmethod/update/authmethod_update_test.go

@ -890,6 +890,10 @@ func getTestMethod(t *testing.T, client *api.Client, methodName string) *api.ACL
method.CreateIndex = 0
method.ModifyIndex = 0
if method.Namespace == "default" {
method.Namespace = ""
}
return method
}

Loading…
Cancel
Save