summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/operations/testing.ts
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2023-11-16 09:19:55 -0300
committerSebastian <sebasjm@gmail.com>2023-11-16 09:19:55 -0300
commitc89c2ba5f907291a326fa597d06f3965e60caa0e (patch)
tree8bc6c5e450a9cb3891bfa20a84fef0e220cea68e /packages/taler-wallet-core/src/operations/testing.ts
parentda3122c7a812d4c425f61c1e159a8275d9cf4e3a (diff)
downloadwallet-core-c89c2ba5f907291a326fa597d06f3965e60caa0e.tar.gz
wallet-core-c89c2ba5f907291a326fa597d06f3965e60caa0e.tar.bz2
wallet-core-c89c2ba5f907291a326fa597d06f3965e60caa0e.zip
fix not compile
Diffstat (limited to 'packages/taler-wallet-core/src/operations/testing.ts')
-rw-r--r--packages/taler-wallet-core/src/operations/testing.ts9
1 files changed, 8 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/operations/testing.ts b/packages/taler-wallet-core/src/operations/testing.ts
index 62766556c..904403dd5 100644
--- a/packages/taler-wallet-core/src/operations/testing.ts
+++ b/packages/taler-wallet-core/src/operations/testing.ts
@@ -38,7 +38,9 @@ import {
Logger,
NotificationType,
PreparePayResultType,
+ stringifyTalerUri,
TalerCorebankApiClient,
+ TalerUriAction,
TestPayArgs,
TestPayResult,
TransactionMajorState,
@@ -678,9 +680,14 @@ export async function runIntegrationTest2(
});
await waitUntilTransactionPendingReady(ws, peerPushInit.transactionId);
+ const talerUri = stringifyTalerUri({
+ type: TalerUriAction.PayPush,
+ exchangeBaseUrl: peerPushInit.exchangeBaseUrl,
+ contractPriv: peerPushInit.contractPriv,
+ })
const peerPushCredit = await preparePeerPushCredit(ws, {
- talerUri: peerPushInit.talerUri,
+ talerUri,
});
await confirmPeerPushCredit(ws, {