[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-wallet-core] branch master updated: randomize IBAN for tests
From: |
gnunet |
Subject: |
[taler-wallet-core] branch master updated: randomize IBAN for tests |
Date: |
Fri, 12 Feb 2021 21:51:43 +0100 |
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 118975fe randomize IBAN for tests
118975fe is described below
commit 118975fee3568f773c75b26753086ecdde182db4
Author: MS <ms@taler.net>
AuthorDate: Fri Feb 12 21:51:09 2021 +0100
randomize IBAN for tests
---
packages/taler-wallet-cli/src/integrationtests/libeufin.ts | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/packages/taler-wallet-cli/src/integrationtests/libeufin.ts
b/packages/taler-wallet-cli/src/integrationtests/libeufin.ts
index 04e67713..c96125d7 100644
--- a/packages/taler-wallet-cli/src/integrationtests/libeufin.ts
+++ b/packages/taler-wallet-cli/src/integrationtests/libeufin.ts
@@ -252,7 +252,7 @@ export interface SimulateIncomingTransactionRequest {
* data that is required to initialize a new user + Ebics
* connection thereof.
*/
-class NexusUserBundle {
+export class NexusUserBundle {
userReq: CreateNexusUserRequest;
connReq: CreateEbicsBankConnectionRequest;
twg: CreateTalerWireGatewayFacadeRequest;
@@ -291,13 +291,15 @@ class NexusUserBundle {
* customer, associating their bank account with a Ebics
* subscriber.
*/
-class SandboxUserBundle {
+export class SandboxUserBundle {
ebicsBankAccount: CreateEbicsBankAccountRequest;
constructor(salt: string) {
this.ebicsBankAccount = {
currency: "EUR",
- bic: "DEUTDEBB101", // <= FIXME: properly randomize
- iban: "IBAN", // <= FIXME: properly randomize
+ bic: "BELADEBEXXX",
+ iban: `DE715001051796${(Math.random() * 100000000)
+ .toString()
+ .substring(0, 8)}`,
label: `remote-account-${salt}`,
name: `Taler Exchange: ${salt}`,
subscriber: {
--
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: randomize IBAN for tests,
gnunet <=