diff options
Diffstat (limited to 'packages/taler-wallet-core/src')
-rw-r--r-- | packages/taler-wallet-core/src/operations/testing.ts | 9 |
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, { |