Skip to content

Commit

Permalink
Test fix: testServicePrincipalsClient_AddTokenSigningCertificate
Browse files Browse the repository at this point in the history
  • Loading branch information
manicminer committed Apr 14, 2022
1 parent 221ac23 commit 7891312
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion msgraph/serviceprincipals_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ func testServicePrincipalsClient_AddPassword(t *testing.T, c *test.Test, a *msgr
func testServicePrincipalsClient_AddTokenSigningCertificate(t *testing.T, c *test.Test, a *msgraph.ServicePrincipal) *msgraph.KeyCredential {
expiry := time.Now().Add(24 * 90 * time.Hour)
tsc := msgraph.KeyCredential{
DisplayName: utils.StringPtr("test cert"),
DisplayName: utils.StringPtr("cn=test cert"),
EndDateTime: &expiry,
}
newKey, status, err := c.ServicePrincipalsClient.AddTokenSigningCertificate(c.Context, *a.ID, tsc)
Expand Down

0 comments on commit 7891312

Please sign in to comment.