aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-harness/src/integrationtests/test-payment-transient.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-harness/src/integrationtests/test-payment-transient.ts')
-rw-r--r--packages/taler-harness/src/integrationtests/test-payment-transient.ts12
1 files changed, 6 insertions, 6 deletions
diff --git a/packages/taler-harness/src/integrationtests/test-payment-transient.ts b/packages/taler-harness/src/integrationtests/test-payment-transient.ts
index 1911b5e92..b9f1b5f6d 100644
--- a/packages/taler-harness/src/integrationtests/test-payment-transient.ts
+++ b/packages/taler-harness/src/integrationtests/test-payment-transient.ts
@@ -27,12 +27,12 @@ import {
codecForMerchantOrderStatusUnpaid,
} from "@gnu-taler/taler-util";
import { WalletApiOperation } from "@gnu-taler/taler-wallet-core";
-import { FaultInjectionResponseContext } from "../harness/faultInjection.js";
-import { GlobalTestState, harnessHttpLib } from "../harness/harness.js";
import {
createFaultInjectedMerchantTestkudosEnvironment,
withdrawViaBankV2,
-} from "../harness/helpers.js";
+} from "../harness/environments.js";
+import { FaultInjectionResponseContext } from "../harness/faultInjection.js";
+import { GlobalTestState, harnessHttpLib } from "../harness/harness.js";
/**
* Run test for a payment where the merchant has a transient
@@ -101,7 +101,7 @@ export async function runPaymentTransientTest(t: GlobalTestState) {
t.assertTrue(preparePayResp.status === PreparePayResultType.PaymentPossible);
- const proposalId = preparePayResp.proposalId;
+ const proposalTransactionId = preparePayResp.transactionId;
publicOrderStatusResp = await harnessHttpLib.fetch(publicOrderStatusUrl);
@@ -143,7 +143,7 @@ export async function runPaymentTransientTest(t: GlobalTestState) {
const confirmPayResp = await walletClient.call(
WalletApiOperation.ConfirmPay,
{
- proposalId,
+ transactionId: proposalTransactionId,
},
);
@@ -155,7 +155,7 @@ export async function runPaymentTransientTest(t: GlobalTestState) {
const confirmPayRespTwo = await walletClient.call(
WalletApiOperation.ConfirmPay,
{
- proposalId,
+ transactionId: proposalTransactionId,
},
);