diff options
author | Florian Dold <florian@dold.me> | 2022-08-09 15:00:45 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2022-08-16 17:55:12 +0200 |
commit | ac8f116780a860c8f4acfdf5553bf90d76afe236 (patch) | |
tree | 38abecb5ad3a3660161909ee9ca229d4ce08eb4a /packages/taler-wallet-cli/src/integrationtests/test-peer-to-peer.ts | |
parent | fb8372dfbf27b7b4e8b2fe4f81aa2ba18bfcf638 (diff) | |
download | wallet-core-ac8f116780a860c8f4acfdf5553bf90d76afe236.tar.xz |
implement peer to peer push payments
Diffstat (limited to 'packages/taler-wallet-cli/src/integrationtests/test-peer-to-peer.ts')
-rw-r--r-- | packages/taler-wallet-cli/src/integrationtests/test-peer-to-peer.ts | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/packages/taler-wallet-cli/src/integrationtests/test-peer-to-peer.ts b/packages/taler-wallet-cli/src/integrationtests/test-peer-to-peer.ts index 5c716dc54..c22258bc8 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-peer-to-peer.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-peer-to-peer.ts @@ -22,7 +22,6 @@ import { GlobalTestState } from "../harness/harness.js"; import { createSimpleTestkudosEnvironment, withdrawViaBank, - makeTestPayment, } from "../harness/helpers.js"; /** @@ -55,9 +54,7 @@ export async function runPeerToPeerTest(t: GlobalTestState) { const checkResp = await wallet.client.call( WalletApiOperation.CheckPeerPushPayment, { - contractPriv: resp.contractPriv, - exchangeBaseUrl: resp.exchangeBaseUrl, - pursePub: resp.pursePub, + talerUri: resp.talerUri, }, ); @@ -66,8 +63,7 @@ export async function runPeerToPeerTest(t: GlobalTestState) { const acceptResp = await wallet.client.call( WalletApiOperation.AcceptPeerPushPayment, { - exchangeBaseUrl: resp.exchangeBaseUrl, - pursePub: resp.pursePub, + peerPushPaymentIncomingId: checkResp.peerPushPaymentIncomingId, }, ); |