From 7f0edb6a783d9a50f94f65c815c1280baecaac89 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Fri, 5 May 2023 19:03:44 +0200 Subject: wallet-core: refund DD37 refactoring --- packages/taler-wallet-core/src/operations/testing.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'packages/taler-wallet-core/src/operations/testing.ts') diff --git a/packages/taler-wallet-core/src/operations/testing.ts b/packages/taler-wallet-core/src/operations/testing.ts index 74cf7b4f2..8341d2f26 100644 --- a/packages/taler-wallet-core/src/operations/testing.ts +++ b/packages/taler-wallet-core/src/operations/testing.ts @@ -45,7 +45,7 @@ import { PreparePayResultType, } from "@gnu-taler/taler-util"; import { InternalWalletState } from "../internal-wallet-state.js"; -import { applyRefund, confirmPay, preparePayForUri } from "./pay-merchant.js"; +import { confirmPay, preparePayForUri, startRefundQueryForUri } from "./pay-merchant.js"; import { getBalances } from "./balance.js"; import { checkLogicInvariant } from "../util/invariants.js"; import { acceptWithdrawalFromUri } from "./withdraw.js"; @@ -416,7 +416,7 @@ export async function runIntegrationTest( logger.trace("refund URI", refundUri); - await applyRefund(ws, refundUri); + await startRefundQueryForUri(ws, refundUri); logger.trace("integration test: applied refund"); @@ -512,7 +512,7 @@ export async function runIntegrationTest2( logger.trace("refund URI", refundUri); - await applyRefund(ws, refundUri); + await startRefundQueryForUri(ws, refundUri); logger.trace("integration test: applied refund"); -- cgit v1.2.3