diff options
-rw-r--r-- | packages/taler-wallet-webextension/src/cta/Withdraw/test.ts | 11 |
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: [], |