aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-harness/src
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2024-10-23 14:28:15 +0200
committerFlorian Dold <florian@dold.me>2024-10-23 14:28:15 +0200
commitd615c2a935d3d126492afdb77fb4dba7d044e2f1 (patch)
tree34114e1aa68b55c9a6053ac2260f63582f6f9b48 /packages/taler-harness/src
parent3f1d1e0252fb43afd0c178a3736b7bb56765465a (diff)
wallet-core: fix scopeInfo handling, fix wrong txId
Diffstat (limited to 'packages/taler-harness/src')
-rw-r--r--packages/taler-harness/src/integrationtests/test-peer-to-peer-push.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/taler-harness/src/integrationtests/test-peer-to-peer-push.ts b/packages/taler-harness/src/integrationtests/test-peer-to-peer-push.ts
index 8a3f85cd7..953ea6088 100644
--- a/packages/taler-harness/src/integrationtests/test-peer-to-peer-push.ts
+++ b/packages/taler-harness/src/integrationtests/test-peer-to-peer-push.ts
@@ -29,12 +29,12 @@ import {
j2s,
} from "@gnu-taler/taler-util";
import { WalletApiOperation } from "@gnu-taler/taler-wallet-core";
-import { GlobalTestState } from "../harness/harness.js";
import {
createSimpleTestkudosEnvironmentV3,
createWalletDaemonWithClient,
withdrawViaBankV3,
} from "../harness/environments.js";
+import { GlobalTestState } from "../harness/harness.js";
/**
* Run a test for basic peer-push payments.
@@ -153,19 +153,19 @@ export async function runPeerToPeerPushTest(t: GlobalTestState) {
t.assertDeepEqual(txDetails.type, TransactionType.PeerPushDebit);
t.assertTrue(!!txDetails.talerUri);
- const checkResp = await w2.walletClient.call(
+ const prepareResp = await w2.walletClient.call(
WalletApiOperation.PreparePeerPushCredit,
{
talerUri: txDetails.talerUri,
},
);
- console.log(checkResp);
+ console.log(prepareResp);
const acceptResp = await w2.walletClient.call(
WalletApiOperation.ConfirmPeerPushCredit,
{
- transactionId: checkResp.transactionId,
+ transactionId: prepareResp.transactionId,
},
);