diff options
Diffstat (limited to 'packages/taler-harness/src/integrationtests/test-paywall-flow.ts')
-rw-r--r-- | packages/taler-harness/src/integrationtests/test-paywall-flow.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/taler-harness/src/integrationtests/test-paywall-flow.ts b/packages/taler-harness/src/integrationtests/test-paywall-flow.ts index de3961dec..0e630de3e 100644 --- a/packages/taler-harness/src/integrationtests/test-paywall-flow.ts +++ b/packages/taler-harness/src/integrationtests/test-paywall-flow.ts @@ -25,11 +25,11 @@ import { codecForMerchantOrderStatusUnpaid, } from "@gnu-taler/taler-util"; import { WalletApiOperation } from "@gnu-taler/taler-wallet-core"; -import { GlobalTestState, harnessHttpLib } from "../harness/harness.js"; import { createSimpleTestkudosEnvironmentV3, withdrawViaBankV3, -} from "../harness/helpers.js"; +} from "../harness/environments.js"; +import { GlobalTestState, harnessHttpLib } from "../harness/harness.js"; /** * Run test for basic, bank-integrated withdrawal. @@ -110,7 +110,7 @@ export async function runPaywallFlowTest(t: GlobalTestState) { t.assertTrue(preparePayResp.status === PreparePayResultType.PaymentPossible); - const proposalId = preparePayResp.proposalId; + const proposalTransactionId = preparePayResp.transactionId; console.log("requesting", publicOrderStatusUrl.href); publicOrderStatusResp = await harnessHttpLib.fetch(publicOrderStatusUrl.href); @@ -126,7 +126,7 @@ export async function runPaywallFlowTest(t: GlobalTestState) { ); const confirmPayRes = await walletClient.call(WalletApiOperation.ConfirmPay, { - proposalId: proposalId, + transactionId: proposalTransactionId, }); t.assertTrue(confirmPayRes.type === ConfirmPayResultType.Done); |