aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-harness/src/integrationtests/test-age-restrictions-peer.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-02-20 01:16:31 +0100
committerFlorian Dold <florian@dold.me>2023-02-20 01:16:31 +0100
commit1747d3ac1853f0ec5791ded5ce4711ed3e5a343f (patch)
tree671667b377eeb9c9a82a397939072a6d1850c734 /packages/taler-harness/src/integrationtests/test-age-restrictions-peer.ts
parent30b3949d2bd9da6bceddb40f3d1921b95fa80316 (diff)
downloadwallet-core-1747d3ac1853f0ec5791ded5ce4711ed3e5a343f.tar.xz
wallet-core: rename p2p requests to something more sensible
Diffstat (limited to 'packages/taler-harness/src/integrationtests/test-age-restrictions-peer.ts')
-rw-r--r--packages/taler-harness/src/integrationtests/test-age-restrictions-peer.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/taler-harness/src/integrationtests/test-age-restrictions-peer.ts b/packages/taler-harness/src/integrationtests/test-age-restrictions-peer.ts
index 1d8986436..524d04c94 100644
--- a/packages/taler-harness/src/integrationtests/test-age-restrictions-peer.ts
+++ b/packages/taler-harness/src/integrationtests/test-age-restrictions-peer.ts
@@ -71,7 +71,7 @@ export async function runAgeRestrictionsPeerTest(t: GlobalTestState) {
);
const initResp = await wallet.client.call(
- WalletApiOperation.InitiatePeerPushPayment,
+ WalletApiOperation.InitiatePeerPushDebit,
{
partialContractTerms: {
summary: "Hello, World",
@@ -84,13 +84,13 @@ export async function runAgeRestrictionsPeerTest(t: GlobalTestState) {
await wallet.runUntilDone();
const checkResp = await walletTwo.client.call(
- WalletApiOperation.CheckPeerPushPayment,
+ WalletApiOperation.PreparePeerPushCredit,
{
talerUri: initResp.talerUri,
},
);
- await walletTwo.client.call(WalletApiOperation.AcceptPeerPushPayment, {
+ await walletTwo.client.call(WalletApiOperation.ConfirmPeerPushCredit, {
peerPushPaymentIncomingId: checkResp.peerPushPaymentIncomingId,
});