[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-wallet-core] branch master updated: testing harness gets more Nex
From: |
gnunet |
Subject: |
[taler-wallet-core] branch master updated: testing harness gets more Nexus API |
Date: |
Thu, 29 Apr 2021 17:03:09 +0200 |
This is an automated email from the git hooks/post-receive script.
ms pushed a commit to branch master
in repository wallet-core.
The following commit(s) were added to refs/heads/master by this push:
new 98014f4b testing harness gets more Nexus API
98014f4b is described below
commit 98014f4b64c302a6e4e03e0d2ccaf579ed1fbf47
Author: MS <ms@taler.net>
AuthorDate: Thu Apr 29 17:03:05 2021 +0200
testing harness gets more Nexus API
---
.../src/integrationtests/libeufin.ts | 25 ++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/packages/taler-wallet-cli/src/integrationtests/libeufin.ts
b/packages/taler-wallet-cli/src/integrationtests/libeufin.ts
index 9d446b31..a6012719 100644
--- a/packages/taler-wallet-cli/src/integrationtests/libeufin.ts
+++ b/packages/taler-wallet-cli/src/integrationtests/libeufin.ts
@@ -849,6 +849,31 @@ export namespace LibeufinNexusApi {
);
}
+
+ export async function getPaymentInitiations(
+ libeufinNexusService: LibeufinNexusService,
+ accountName: string,
+ username: string = "admin",
+ password: string = "test",
+ ): Promise<void> {
+ const baseUrl = libeufinNexusService.baseUrl;
+ let url = new URL(
+ `/bank-accounts/${accountName}/payment-initiations`,
+ baseUrl,
+ );
+ let response = await axios.get(
+ url.href,
+ {
+ auth: {
+ username: username,
+ password: password,
+ },
+ },
+ );
+ console.log(`Payment initiations of: ${accountName}`,
+ JSON.stringify(response.data, null, 2));
+ }
+
export async function getAccountTransactions(
libeufinNexusService: LibeufinNexusService,
accountName: string,
--
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: testing harness gets more Nexus API,
gnunet <=