[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-wallet-core] branch master updated: fix not compiling
From: |
gnunet |
Subject: |
[taler-wallet-core] branch master updated: fix not compiling |
Date: |
Thu, 16 Nov 2023 13:24:23 +0100 |
This is an automated email from the git hooks/post-receive script.
sebasjm pushed a commit to branch master
in repository wallet-core.
The following commit(s) were added to refs/heads/master by this push:
new 02b783f0b fix not compiling
02b783f0b is described below
commit 02b783f0b0e324deda8865b9e161a37dd7f153a8
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Thu Nov 16 09:24:18 2023 -0300
fix not compiling
---
.../src/integrationtests/test-age-restrictions-peer.ts | 10 +++++++++-
.../taler-harness/src/integrationtests/test-peer-repair.ts | 10 +++++++++-
.../src/integrationtests/test-peer-to-peer-push.ts | 12 ++++++++++--
3 files changed, 28 insertions(+), 4 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 7506d48b3..a58622f74 100644
--- a/packages/taler-harness/src/integrationtests/test-age-restrictions-peer.ts
+++ b/packages/taler-harness/src/integrationtests/test-age-restrictions-peer.ts
@@ -22,8 +22,10 @@ import {
AmountString,
Duration,
NotificationType,
+ TalerUriAction,
TransactionMajorState,
TransactionMinorState,
+ stringifyTalerUri,
} from "@gnu-taler/taler-util";
import { WalletApiOperation } from "@gnu-taler/taler-wallet-core";
import { defaultCoinConfig } from "../harness/denomStructures.js";
@@ -99,10 +101,16 @@ export async function runAgeRestrictionsPeerTest(t:
GlobalTestState) {
await peerPushReadyCond;
+ const talerUri = stringifyTalerUri({
+ type: TalerUriAction.PayPush,
+ exchangeBaseUrl: initResp.exchangeBaseUrl,
+ contractPriv: initResp.contractPriv,
+ })
+
const checkResp = await wallet2.call(
WalletApiOperation.PreparePeerPushCredit,
{
- talerUri: initResp.talerUri,
+ talerUri,
},
);
diff --git a/packages/taler-harness/src/integrationtests/test-peer-repair.ts
b/packages/taler-harness/src/integrationtests/test-peer-repair.ts
index 977316174..b3adf959b 100644
--- a/packages/taler-harness/src/integrationtests/test-peer-repair.ts
+++ b/packages/taler-harness/src/integrationtests/test-peer-repair.ts
@@ -22,9 +22,11 @@ import {
AmountString,
Duration,
NotificationType,
+ TalerUriAction,
TransactionMajorState,
TransactionMinorState,
WalletNotification,
+ stringifyTalerUri,
} from "@gnu-taler/taler-util";
import { WalletApiOperation } from "@gnu-taler/taler-wallet-core";
import { GlobalTestState } from "../harness/harness.js";
@@ -109,10 +111,16 @@ export async function runPeerRepairTest(t:
GlobalTestState) {
await peerPushDebitReady1Cond;
+ const talerUri = stringifyTalerUri({
+ type: TalerUriAction.PayPush,
+ exchangeBaseUrl: resp1.exchangeBaseUrl,
+ contractPriv: resp1.contractPriv,
+ })
+
const resp2 = await wallet2.client.call(
WalletApiOperation.PreparePeerPushCredit,
{
- talerUri: resp1.talerUri,
+ talerUri,
},
);
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 44c7bf399..514b67e7d 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
@@ -22,10 +22,12 @@ import {
AmountString,
Duration,
NotificationType,
+ TalerUriAction,
TransactionMajorState,
TransactionMinorState,
WalletNotification,
j2s,
+ stringifyTalerUri,
} from "@gnu-taler/taler-util";
import { WalletApiOperation } from "@gnu-taler/taler-wallet-core";
import { GlobalTestState } from "../harness/harness.js";
@@ -115,10 +117,16 @@ export async function runPeerToPeerPushTest(t:
GlobalTestState) {
await peerPushReadyCond;
- const checkResp = await w2.walletClient.call(
+ const talerUri = stringifyTalerUri({
+ type: TalerUriAction.PayPush,
+ exchangeBaseUrl: resp.exchangeBaseUrl,
+ contractPriv: resp.contractPriv,
+ })
+
+const checkResp = await w2.walletClient.call(
WalletApiOperation.PreparePeerPushCredit,
{
- talerUri: resp.talerUri,
+ talerUri,
},
);
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-wallet-core] branch master updated: fix not compiling,
gnunet <=