Fix broken tests

This commit is contained in:
Fang-Pen Lin
2025-11-20 09:10:00 -08:00
parent af40e15cb7
commit c3fdb10b3e

View File

@@ -428,7 +428,13 @@ describe("CertificateProfileService", () => {
service.createProfile({
...mockActor,
projectId: "project-123",
data: validProfileData
data: {
...validProfileData,
enrollmentType: EnrollmentType.ACME,
acmeConfig: {},
apiConfig: undefined,
estConfig: undefined
}
})
).rejects.toThrowError(
new BadRequestError({