From 28b8f2eaf9417b26320805b69b580756de0bcecd Mon Sep 17 00:00:00 2001 From: Sebastian Date: Wed, 24 May 2023 10:12:55 -0300 Subject: fix test merchant backoffce --- packages/merchant-backoffice-ui/src/hooks/reserve.test.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'packages/merchant-backoffice-ui/src/hooks/reserve.test.ts') diff --git a/packages/merchant-backoffice-ui/src/hooks/reserve.test.ts b/packages/merchant-backoffice-ui/src/hooks/reserve.test.ts index 4068ff8bd..d2831ecff 100644 --- a/packages/merchant-backoffice-ui/src/hooks/reserve.test.ts +++ b/packages/merchant-backoffice-ui/src/hooks/reserve.test.ts @@ -245,7 +245,7 @@ describe("reserve api interaction with details", () => { expect(query.ok).true; if (!query.ok) return; expect(query.data).deep.equals({ - payto_uri: "payto://here", + accounts: [{ payto_uri: "payto://here" }], tips: [{ reason: "why?", tip_id: "id1", total_amount: "USD:10" }], }); @@ -293,7 +293,7 @@ describe("reserve api interaction with details", () => { if (!query.ok) return; expect(query.data).deep.equals({ - payto_uri: "payto://here", + accounts: [{ payto_uri: "payto://here" }], tips: [ { reason: "why?", tip_id: "id1", total_amount: "USD:10" }, { reason: "not", tip_id: "id2", total_amount: "USD:12" }, @@ -340,7 +340,7 @@ describe("reserve api interaction with details", () => { expect(query.ok).true; if (!query.ok) return; expect(query.data).deep.equals({ - payto_uri: "payto://here", + accounts: [{ payto_uri: "payto://here" }], tips: [{ reason: "why?", tip_id: "id1", total_amount: "USD:10" }], }); @@ -386,7 +386,7 @@ describe("reserve api interaction with details", () => { if (!query.ok) return; expect(query.data).deep.equals({ - payto_uri: "payto://here", + accounts: [{ payto_uri: "payto://here" }], tips: [ { reason: "why?", tip_id: "id1", total_amount: "USD:10" }, { reason: "not", tip_id: "id2", total_amount: "USD:12" }, -- cgit v1.2.3