diff options
Diffstat (limited to 'packages/taler-harness/src/integrationtests/test-merchant-longpolling.ts')
-rw-r--r-- | packages/taler-harness/src/integrationtests/test-merchant-longpolling.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/taler-harness/src/integrationtests/test-merchant-longpolling.ts b/packages/taler-harness/src/integrationtests/test-merchant-longpolling.ts index 656fc4ded..216ca29db 100644 --- a/packages/taler-harness/src/integrationtests/test-merchant-longpolling.ts +++ b/packages/taler-harness/src/integrationtests/test-merchant-longpolling.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. @@ -141,7 +141,7 @@ export async function runMerchantLongpollingTest(t: GlobalTestState) { t.assertTrue(preparePayResp.status === PreparePayResultType.PaymentPossible); - const proposalId = preparePayResp.proposalId; + const proposalTransactionId = preparePayResp.transactionId; publicOrderStatusResp = await publicOrderStatusPromise; @@ -156,7 +156,7 @@ export async function runMerchantLongpollingTest(t: GlobalTestState) { ); const confirmPayRes = await walletClient.call(WalletApiOperation.ConfirmPay, { - proposalId: proposalId, + transactionId: proposalTransactionId, }); t.assertTrue(confirmPayRes.type === ConfirmPayResultType.Done); |