diff options
author | Sebastian <sebasjm@gmail.com> | 2023-11-16 09:24:18 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-11-16 09:24:18 -0300 |
commit | 02b783f0b0e324deda8865b9e161a37dd7f153a8 (patch) | |
tree | 41c5b6d2e003139c373ad1ff53cae526c94530e6 /packages/taler-harness/src/integrationtests/test-peer-repair.ts | |
parent | c89c2ba5f907291a326fa597d06f3965e60caa0e (diff) | |
download | wallet-core-02b783f0b0e324deda8865b9e161a37dd7f153a8.tar.xz |
fix not compiling
Diffstat (limited to 'packages/taler-harness/src/integrationtests/test-peer-repair.ts')
-rw-r--r-- | packages/taler-harness/src/integrationtests/test-peer-repair.ts | 10 |
1 files changed, 9 insertions, 1 deletions
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, }, ); |