acl: fix canonicalization of OIDC auth method mock (#16534)

This commit is contained in:
Piotr Kazmierczak
2023-03-17 15:37:54 +01:00
committed by GitHub
parent 57a3cbe264
commit 76649dfe2f

View File

@@ -243,8 +243,8 @@ func ACLAuthMethod() *structs.ACLAuthMethod {
CreateIndex: 10,
ModifyIndex: 10,
}
method.SetHash()
method.Canonicalize()
method.SetHash()
return &method
}