summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/operations/testing.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-wallet-core/src/operations/testing.ts')
-rw-r--r--packages/taler-wallet-core/src/operations/testing.ts6
1 files changed, 3 insertions, 3 deletions
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");