From 6106caeba9e017242dfd334c34c8473aefb6ffb0 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Mon, 13 Feb 2023 15:32:23 -0300 Subject: fix broken build since wallet-core new api and placeholder for payment-temlate --- .../src/cta/Payment/test.ts | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) (limited to 'packages/taler-wallet-webextension/src/cta/Payment') diff --git a/packages/taler-wallet-webextension/src/cta/Payment/test.ts b/packages/taler-wallet-webextension/src/cta/Payment/test.ts index f53be00c9..e92eb78c0 100644 --- a/packages/taler-wallet-webextension/src/cta/Payment/test.ts +++ b/packages/taler-wallet-webextension/src/cta/Payment/test.ts @@ -27,6 +27,7 @@ import { PreparePayResultInsufficientBalance, PreparePayResultPaymentPossible, PreparePayResultType, + ScopeType, } from "@gnu-taler/taler-util"; import { WalletApiOperation } from "@gnu-taler/taler-wallet-core"; import { expect } from "chai"; @@ -143,6 +144,11 @@ describe("Payment CTA states", () => { pendingIncoming: "USD:0", pendingOutgoing: "USD:0", requiresUserInput: false, + scopeInfo: { + currency: "USD", + type: ScopeType.Auditor, + url: "", + }, }, ], }, @@ -198,6 +204,11 @@ describe("Payment CTA states", () => { pendingIncoming: "USD:0", pendingOutgoing: "USD:0", requiresUserInput: false, + scopeInfo: { + currency: "USD", + type: ScopeType.Auditor, + url: "", + }, }, ], }, @@ -256,6 +267,11 @@ describe("Payment CTA states", () => { pendingIncoming: "USD:0", pendingOutgoing: "USD:0", requiresUserInput: false, + scopeInfo: { + currency: "USD", + type: ScopeType.Auditor, + url: "", + }, }, ], }, @@ -312,6 +328,11 @@ describe("Payment CTA states", () => { pendingIncoming: "USD:0", pendingOutgoing: "USD:0", requiresUserInput: false, + scopeInfo: { + currency: "USD", + type: ScopeType.Auditor, + url: "", + }, }, ], }, @@ -376,6 +397,11 @@ describe("Payment CTA states", () => { pendingIncoming: "USD:0", pendingOutgoing: "USD:0", requiresUserInput: false, + scopeInfo: { + currency: "USD", + type: ScopeType.Auditor, + url: "", + }, }, ], }, @@ -459,6 +485,11 @@ describe("Payment CTA states", () => { pendingIncoming: "USD:0", pendingOutgoing: "USD:0", requiresUserInput: false, + scopeInfo: { + currency: "USD", + type: ScopeType.Auditor, + url: "", + }, }, ], }, @@ -485,6 +516,11 @@ describe("Payment CTA states", () => { pendingIncoming: "USD:0", pendingOutgoing: "USD:0", requiresUserInput: false, + scopeInfo: { + currency: "USD", + type: ScopeType.Auditor, + url: "", + }, }, ], }, -- cgit v1.2.3