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 01e89f03ea
commit db870ba92b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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
}

@ -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