Fix test.

This commit is contained in:
Mariano Cano 2019-12-11 18:24:32 -08:00 committed by max furman
parent f4615d6258
commit 9e7b86342b

View file

@ -33,6 +33,7 @@ func getTestProvisioner(t *testing.T, caURL string) *Provisioner {
name: "mariano",
kid: "FLIV7q23CXHrg75J2OSbvzwKJJqoxCYixjmsJirneOg",
audience: client.endpoint.ResolveReference(&url.URL{Path: "/1.0/sign"}).String(),
sshAudience: client.endpoint.ResolveReference(&url.URL{Path: "/1.0/ssh/sign"}).String(),
fingerprint: x509util.Fingerprint(cert),
jwk: jwk,
tokenLifetime: 5 * time.Minute,