wallet-core: add receiver name in fakebank test

This commit is contained in:
Florian Dold 2023-01-18 20:21:24 +01:00
parent de937d7159
commit d7fe5b0cb5
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -1350,7 +1350,7 @@ async function dispatchRequestInternal<Op extends WalletApiOperation>(
{ {
amount: Amounts.stringify(amount), amount: Amounts.stringify(amount),
reserve_pub: wres.reservePub, reserve_pub: wres.reservePub,
debit_account: "payto://x-taler-bank/localhost/testdebtor", debit_account: "payto://x-taler-bank/localhost/testdebtor?receiver-name=Foo",
}, },
); );
const fbResp = await readSuccessResponseJsonOrThrow(fbReq, codecForAny()); const fbResp = await readSuccessResponseJsonOrThrow(fbReq, codecForAny());