diff options
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.ts | 29 |
1 files changed, 19 insertions, 10 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 af5b4df52..1d8986436 100644 --- a/packages/taler-harness/src/integrationtests/test-age-restrictions-peer.ts +++ b/packages/taler-harness/src/integrationtests/test-age-restrictions-peer.ts @@ -18,7 +18,10 @@ * Imports. */ import { AbsoluteTime, Duration } from "@gnu-taler/taler-util"; -import { getDefaultNodeWallet2, WalletApiOperation } from "@gnu-taler/taler-wallet-core"; +import { + getDefaultNodeWallet2, + WalletApiOperation, +} from "@gnu-taler/taler-wallet-core"; import { defaultCoinConfig } from "../harness/denomStructures.js"; import { GlobalTestState, WalletCli } from "../harness/harness.js"; import { @@ -67,19 +70,25 @@ export async function runAgeRestrictionsPeerTest(t: GlobalTestState) { ), ); - const initResp = await wallet.client.call(WalletApiOperation.InitiatePeerPushPayment, { - partialContractTerms: { - summary: "Hello, World", - amount: "TESTKUDOS:1", - purse_expiration, + const initResp = await wallet.client.call( + WalletApiOperation.InitiatePeerPushPayment, + { + partialContractTerms: { + summary: "Hello, World", + amount: "TESTKUDOS:1", + purse_expiration, + }, }, - }); + ); await wallet.runUntilDone(); - const checkResp = await walletTwo.client.call(WalletApiOperation.CheckPeerPushPayment, { - talerUri: initResp.talerUri, - }); + const checkResp = await walletTwo.client.call( + WalletApiOperation.CheckPeerPushPayment, + { + talerUri: initResp.talerUri, + }, + ); await walletTwo.client.call(WalletApiOperation.AcceptPeerPushPayment, { peerPushPaymentIncomingId: checkResp.peerPushPaymentIncomingId, |