aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-harness/src/integrationtests/test-age-restrictions-peer.ts
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2023-01-19 16:16:42 -0300
committerSebastian <sebasjm@gmail.com>2023-01-19 16:16:42 -0300
commit40279ae7f0520b25f5aecf5b2318a1bb5772c10c (patch)
tree824f513640e3d98be23839c4d3917cd891aae360 /packages/taler-harness/src/integrationtests/test-age-restrictions-peer.ts
parentb5c29a8bad3b19b2529cd7fd1c9e321734f08379 (diff)
downloadwallet-core-40279ae7f0520b25f5aecf5b2318a1bb5772c10c.tar.xz
pretty
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.ts29
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,