Skip to content

Commit

Permalink
Fixing test.
Browse files Browse the repository at this point in the history
  • Loading branch information
getvictor committed Nov 22, 2024
1 parent 6953dc0 commit a976f95
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion server/service/apple_mdm_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4254,7 +4254,10 @@ func TestGetNewPKICertificate(t *testing.T) {
}, nil
}

cert64, err := getNewPKICertificate(ctx, ds, nil)
certTemplate := fleet.CertificateTemplate{
CommonName: "My CN",
}
cert64, err := getNewPKICertificate(ctx, ds, "", nil, certTemplate, "My Org")
require.NoError(t, err)
assert.NotEmpty(t, cert64)
}

0 comments on commit a976f95

Please sign in to comment.