diff options
Diffstat (limited to 'packages/merchant-backoffice-ui/src/hooks/reserve.test.ts')
-rw-r--r-- | packages/merchant-backoffice-ui/src/hooks/reserve.test.ts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/merchant-backoffice-ui/src/hooks/reserve.test.ts b/packages/merchant-backoffice-ui/src/hooks/reserve.test.ts index 79c8c9229..a7b97794d 100644 --- a/packages/merchant-backoffice-ui/src/hooks/reserve.test.ts +++ b/packages/merchant-backoffice-ui/src/hooks/reserve.test.ts @@ -80,7 +80,7 @@ describe("reserve api interaction with listing", () => { }, response: { reserve_pub: "22", - payto_uri: "payto", + accounts: [], }, }); @@ -218,7 +218,7 @@ describe("reserve api interaction with details", () => { env.addRequestExpectation(API_GET_RESERVE_BY_ID("11"), { response: { - payto_uri: "payto://here", + accounts: [{ payto_uri: "payto://here" }], tips: [{ reason: "why?", tip_id: "id1", total_amount: "USD:10" }], } as MerchantBackend.Tips.ReserveDetail, qparam: { @@ -265,7 +265,7 @@ describe("reserve api interaction with details", () => { env.addRequestExpectation(API_GET_RESERVE_BY_ID("11"), { response: { - 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" }, @@ -313,7 +313,7 @@ describe("reserve api interaction with details", () => { env.addRequestExpectation(API_GET_RESERVE_BY_ID("11"), { response: { - payto_uri: "payto://here", + accounts: [{ payto_uri: "payto://here" }], tips: [{ reason: "why?", tip_id: "id1", total_amount: "USD:10" }], } as MerchantBackend.Tips.ReserveDetail, qparam: { @@ -360,7 +360,7 @@ describe("reserve api interaction with details", () => { env.addRequestExpectation(API_GET_RESERVE_BY_ID("11"), { response: { - 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" }, |