summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2023-11-28 19:10:50 -0300
committerSebastian <sebasjm@gmail.com>2023-11-28 19:10:54 -0300
commit69431782c41d23f25a31ae2e9d3fa24a74d36000 (patch)
treecad556d93efbb7bff52dfeaf3bea8f8fd945b8c9
parent20d86e00c59a25b418329928f24d51dff3764a2e (diff)
downloadwallet-core-69431782c41d23f25a31ae2e9d3fa24a74d36000.tar.gz
wallet-core-69431782c41d23f25a31ae2e9d3fa24a74d36000.tar.bz2
wallet-core-69431782c41d23f25a31ae2e9d3fa24a74d36000.zip
fixing test
-rw-r--r--packages/taler-wallet-webextension/src/cta/Withdraw/test.ts11
1 files 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
index 108f5d005..5b5530f1c 100644
--- 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: [],