aboutsummaryrefslogtreecommitdiff
path: root/packages/merchant-backoffice-ui/src/hooks/reserve.test.ts
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2023-05-24 10:12:55 -0300
committerSebastian <sebasjm@gmail.com>2023-05-24 10:21:05 -0300
commit28b8f2eaf9417b26320805b69b580756de0bcecd (patch)
tree063759cf52649181d09c4c0e9f8d2e49d5707e70 /packages/merchant-backoffice-ui/src/hooks/reserve.test.ts
parent99d6d2acf705a3799b7f352bec76cf00fd7bbaf9 (diff)
downloadwallet-core-28b8f2eaf9417b26320805b69b580756de0bcecd.tar.xz
fix test merchant backoffce
Diffstat (limited to 'packages/merchant-backoffice-ui/src/hooks/reserve.test.ts')
-rw-r--r--packages/merchant-backoffice-ui/src/hooks/reserve.test.ts8
1 files changed, 4 insertions, 4 deletions
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" },