Update policy test

This commit is contained in:
Carl Tashian 2023-02-16 15:58:36 -08:00
parent 96c6613739
commit cfcc95de93
No known key found for this signature in database

View file

@ -80,7 +80,7 @@ func TestAuthority_checkPolicy(t *testing.T) {
}, },
err: &PolicyError{ err: &PolicyError{
Typ: AdminLockOut, Typ: AdminLockOut,
Err: errors.New("the provided policy would lock out [step] from the CA. Please update your policy to include [step] as an allowed name"), Err: errors.New("the provided policy would lock out [step] from the CA. Please create an x509 policy to include [step] as an allowed DNS name"),
}, },
} }
}, },