commit 69431782c41d23f25a31ae2e9d3fa24a74d36000
parent 20d86e00c59a25b418329928f24d51dff3764a2e
Author: Sebastian <sebasjm@gmail.com>
Date: Tue, 28 Nov 2023 19:10:50 -0300
fixing test
Diffstat:
1 file changed, 11 insertions(+), 0 deletions(-)
diff --git a/packages/taler-wallet-webextension/src/cta/Withdraw/test.ts b/packages/taler-wallet-webextension/src/cta/Withdraw/test.ts
@@ -25,6 +25,7 @@ import {
ExchangeEntryStatus,
ExchangeListItem,
ExchangeTosStatus,
+ ScopeType,
} from "@gnu-taler/taler-util";
import { WalletApiOperation } from "@gnu-taler/taler-wallet-core";
import { expect } from "chai";
@@ -159,6 +160,11 @@ describe("Withdraw CTA states", () => {
amountEffective: "ARS:2" as AmountString,
paytoUris: ["payto://"],
tosAccepted: true,
+ scopeInfo: {
+ currency: "ARS",
+ type: ScopeType.Exchange,
+ url: "http://asd"
+ },
withdrawalAccountList: [],
ageRestrictionOptions: [],
numCoins: 42,
@@ -223,6 +229,11 @@ describe("Withdraw CTA states", () => {
amountRaw: "ARS:2" as AmountString,
amountEffective: "ARS:2" as AmountString,
paytoUris: ["payto://"],
+ scopeInfo: {
+ currency: "ARS",
+ type: ScopeType.Exchange,
+ url: "http://asd"
+ },
tosAccepted: false,
withdrawalAccountList: [],
ageRestrictionOptions: [],