diff --git a/src/script/E2EIdentity/E2EIdentityEnrollment.test.ts b/src/script/E2EIdentity/E2EIdentityEnrollment.test.ts index 5256a87536a..03896280eab 100644 --- a/src/script/E2EIdentity/E2EIdentityEnrollment.test.ts +++ b/src/script/E2EIdentity/E2EIdentityEnrollment.test.ts @@ -123,6 +123,7 @@ describe('E2EIHandler', () => { await instance.initialize(params); void instance.attemptEnrollment(); await wait(1); + expect(container.resolve(Core).service?.e2eIdentity?.registerServerCertificates).toHaveBeenCalled(); expect(instance['currentStep']).toBe(E2EIHandlerStep.INITIALIZED); });