bugfix: acl sso auth methods test failures (#15512)

This PR fixes unit test failures introduced in f4e89e2
This commit is contained in:
Piotr Kazmierczak
2022-12-09 18:47:32 +01:00
committed by GitHub
parent f4e89e2895
commit 9dbe34ac05
5 changed files with 14 additions and 3 deletions

View File

@@ -87,7 +87,7 @@ func TestACLAuthMethodCreateCommand_Run(t *testing.T) {
args = []string{
"-address=" + url, "-token=" + rootACLToken.SecretID, "-name=acl-auth-method-cli-test",
"-type=OIDC", "-token-locality=global", "-default=true", "-max-token-ttl=3600s",
"-type=OIDC", "-token-locality=global", "-default=false", "-max-token-ttl=3600s",
fmt.Sprintf("-config=@%s", configFile.Name()),
}
must.Eq(t, 0, cmd.Run(args))