diff options
Diffstat (limited to 'packages/taler-harness/src/integrationtests/test-pay-paid.ts')
-rw-r--r-- | packages/taler-harness/src/integrationtests/test-pay-paid.ts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/taler-harness/src/integrationtests/test-pay-paid.ts b/packages/taler-harness/src/integrationtests/test-pay-paid.ts index 3d93f6e29..a3ebd63e7 100644 --- a/packages/taler-harness/src/integrationtests/test-pay-paid.ts +++ b/packages/taler-harness/src/integrationtests/test-pay-paid.ts @@ -25,12 +25,12 @@ import { codecForMerchantOrderStatusUnpaid, } from "@gnu-taler/taler-util"; import { WalletApiOperation } from "@gnu-taler/taler-wallet-core"; -import { FaultInjectionRequestContext } from "../harness/faultInjection.js"; -import { GlobalTestState, harnessHttpLib } from "../harness/harness.js"; import { createFaultInjectedMerchantTestkudosEnvironment, withdrawViaBankV2, -} from "../harness/helpers.js"; +} from "../harness/environments.js"; +import { FaultInjectionRequestContext } from "../harness/faultInjection.js"; +import { GlobalTestState, harnessHttpLib } from "../harness/harness.js"; /** * Run test for the wallets repurchase detection mechanism @@ -112,7 +112,7 @@ export async function runPayPaidTest(t: GlobalTestState) { t.assertTrue(preparePayResp.status === PreparePayResultType.PaymentPossible); - const proposalId = preparePayResp.proposalId; + const proposalTransactionId = preparePayResp.transactionId; publicOrderStatusResp = await harnessHttpLib.fetch(publicOrderStatusUrl); @@ -127,7 +127,7 @@ export async function runPayPaidTest(t: GlobalTestState) { ); const confirmPayRes = await walletClient.call(WalletApiOperation.ConfirmPay, { - proposalId: proposalId, + transactionId: proposalTransactionId, }); t.assertTrue(confirmPayRes.type === ConfirmPayResultType.Done); |