diff options
Diffstat (limited to 'packages/taler-wallet-webextension/src/cta/Refund/test.ts')
-rw-r--r-- | packages/taler-wallet-webextension/src/cta/Refund/test.ts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/taler-wallet-webextension/src/cta/Refund/test.ts b/packages/taler-wallet-webextension/src/cta/Refund/test.ts index 1a40cfbe3..a2e48f76d 100644 --- a/packages/taler-wallet-webextension/src/cta/Refund/test.ts +++ b/packages/taler-wallet-webextension/src/cta/Refund/test.ts @@ -72,7 +72,7 @@ describe("Refund CTA states", () => { onSuccess: nullFunction, }; - handler.addWalletCallResponse(WalletApiOperation.PrepareRefund, undefined, { + handler.addWalletCallResponse(WalletApiOperation.StartRefundQueryForUri, undefined, { awaiting: "EUR:2", effectivePaid: "EUR:2", gone: "EUR:0", @@ -126,7 +126,7 @@ describe("Refund CTA states", () => { }, }; - handler.addWalletCallResponse(WalletApiOperation.PrepareRefund, undefined, { + handler.addWalletCallResponse(WalletApiOperation.StartRefundQueryForUri, undefined, { awaiting: "EUR:2", effectivePaid: "EUR:2", gone: "EUR:0", @@ -187,7 +187,7 @@ describe("Refund CTA states", () => { }, }; - handler.addWalletCallResponse(WalletApiOperation.PrepareRefund, undefined, { + handler.addWalletCallResponse(WalletApiOperation.StartRefundQueryForUri, undefined, { awaiting: "EUR:2", effectivePaid: "EUR:2", gone: "EUR:0", @@ -203,7 +203,7 @@ describe("Refund CTA states", () => { summary: "the summary", } as OrderShortInfo, }); - handler.addWalletCallResponse(WalletApiOperation.PrepareRefund, undefined, { + handler.addWalletCallResponse(WalletApiOperation.StartRefundQueryForUri, undefined, { awaiting: "EUR:1", effectivePaid: "EUR:2", gone: "EUR:0", @@ -219,7 +219,7 @@ describe("Refund CTA states", () => { summary: "the summary", } as OrderShortInfo, }); - handler.addWalletCallResponse(WalletApiOperation.PrepareRefund, undefined, { + handler.addWalletCallResponse(WalletApiOperation.StartRefundQueryForUri, undefined, { awaiting: "EUR:0", effectivePaid: "EUR:2", gone: "EUR:0", |