From 943144434b890b0ae593cc71653b0f22f910bf71 Mon Sep 17 00:00:00 2001 From: mbe Date: Tue, 9 Jul 2024 13:59:43 +0200 Subject: [PATCH] #36608 bugfix unit test --- dhl-commercetools-events/tests/delivery.service.spec.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dhl-commercetools-events/tests/delivery.service.spec.ts b/dhl-commercetools-events/tests/delivery.service.spec.ts index 9590582..e7cd8ae 100644 --- a/dhl-commercetools-events/tests/delivery.service.spec.ts +++ b/dhl-commercetools-events/tests/delivery.service.spec.ts @@ -40,6 +40,9 @@ const apiRoot: any = { post: jest.fn(() => ({ execute: jest.fn(), })), + get: jest.fn(() => ({ + execute: jest.fn(() => ({ body: order })), + })), })), })), customObjects: jest.fn(() => ({