diff options
author | Sebastian <sebasjm@gmail.com> | 2024-02-04 17:02:39 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2024-02-04 17:02:39 -0300 |
commit | 426e2f3170de3ed41fa857661753435bd962b746 (patch) | |
tree | 19066046157ec9639f8eab8d3ca8a9d3122c17a7 /packages/taler-wallet-webextension/src/cta/Reward/test.ts | |
parent | bda2474d19eea56468c56f204ec26e70807945f5 (diff) | |
download | wallet-core-426e2f3170de3ed41fa857661753435bd962b746.tar.xz |
update intragration test to use non-deprecated acceptReward request
Diffstat (limited to 'packages/taler-wallet-webextension/src/cta/Reward/test.ts')
-rw-r--r-- | packages/taler-wallet-webextension/src/cta/Reward/test.ts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/taler-wallet-webextension/src/cta/Reward/test.ts b/packages/taler-wallet-webextension/src/cta/Reward/test.ts index 0e378f366..aa19af261 100644 --- a/packages/taler-wallet-webextension/src/cta/Reward/test.ts +++ b/packages/taler-wallet-webextension/src/cta/Reward/test.ts @@ -19,7 +19,7 @@ * @author Sebastian Javier Marchano (sebasjm) */ -import { AmountString, Amounts } from "@gnu-taler/taler-util"; +import { AmountString, Amounts, TransactionIdStr } from "@gnu-taler/taler-util"; import { WalletApiOperation } from "@gnu-taler/taler-wallet-core"; import { expect } from "chai"; import * as tests from "@gnu-taler/web-util/testing"; @@ -68,7 +68,7 @@ describe("Tip CTA states", () => { merchantBaseUrl: "merchant url", rewardAmountEffective: "EUR:1" as AmountString, walletRewardId: "tip_id", - transactionId: "txn:tip:ABC1234", + transactionId: "txn:tip:ABC1234" as TransactionIdStr, expirationTimestamp: { t_s: 1, }, @@ -112,7 +112,7 @@ describe("Tip CTA states", () => { merchantBaseUrl: "merchant url", rewardAmountEffective: "EUR:1" as AmountString, walletRewardId: "tip_id", - transactionId: "txn:tip:ABC1234", + transactionId: "txn:tip:ABC1234" as TransactionIdStr, expirationTimestamp: { t_s: 1, }, @@ -142,7 +142,7 @@ describe("Tip CTA states", () => { merchantBaseUrl: "merchant url", rewardAmountEffective: "EUR:1" as AmountString, walletRewardId: "tip_id", - transactionId: "txn:tip:ABC1234", + transactionId: "txn:tip:ABC1234" as TransactionIdStr, accepted: false, expirationTimestamp: { t_s: 1, @@ -190,7 +190,7 @@ describe("Tip CTA states", () => { merchantBaseUrl: "merchant url", rewardAmountEffective: "EUR:1" as AmountString, walletRewardId: "tip_id", - transactionId: "txn:tip:ABC1234", + transactionId: "txn:tip:ABC1234" as TransactionIdStr, expirationTimestamp: { t_s: 1, }, |