From 1747d3ac1853f0ec5791ded5ce4711ed3e5a343f Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 20 Feb 2023 01:16:31 +0100 Subject: wallet-core: rename p2p requests to something more sensible --- .../src/integrationtests/test-peer-to-peer-push.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'packages/taler-harness/src/integrationtests/test-peer-to-peer-push.ts') 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 39d9b9edb..60ccce000 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 @@ -56,7 +56,7 @@ export async function runPeerToPeerPushTest(t: GlobalTestState) { { const resp = await wallet1.client.call( - WalletApiOperation.InitiatePeerPushPayment, + WalletApiOperation.InitiatePeerPushDebit, { partialContractTerms: { summary: "Hello World 😁😇", @@ -69,7 +69,7 @@ export async function runPeerToPeerPushTest(t: GlobalTestState) { console.log(resp); } const resp = await wallet1.client.call( - WalletApiOperation.InitiatePeerPushPayment, + WalletApiOperation.InitiatePeerPushDebit, { partialContractTerms: { summary: "Hello World 🥺", @@ -82,7 +82,7 @@ export async function runPeerToPeerPushTest(t: GlobalTestState) { console.log(resp); const checkResp = await wallet2.client.call( - WalletApiOperation.CheckPeerPushPayment, + WalletApiOperation.PreparePeerPushCredit, { talerUri: resp.talerUri, }, @@ -91,7 +91,7 @@ export async function runPeerToPeerPushTest(t: GlobalTestState) { console.log(checkResp); const acceptResp = await wallet2.client.call( - WalletApiOperation.AcceptPeerPushPayment, + WalletApiOperation.ConfirmPeerPushCredit, { peerPushPaymentIncomingId: checkResp.peerPushPaymentIncomingId, }, @@ -115,7 +115,7 @@ export async function runPeerToPeerPushTest(t: GlobalTestState) { console.log(`txn2: ${j2s(txn2)}`); const ex1 = await t.assertThrowsTalerErrorAsync(async () => { - await wallet1.client.call(WalletApiOperation.InitiatePeerPushPayment, { + await wallet1.client.call(WalletApiOperation.InitiatePeerPushDebit, { partialContractTerms: { summary: "(this will fail)", amount: "TESTKUDOS:15", -- cgit v1.2.3