gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-wallet-core] branch master updated: make refund-gone test case pa


From: gnunet
Subject: [taler-wallet-core] branch master updated: make refund-gone test case pass again (see #7158)
Date: Mon, 24 Jan 2022 22:44:33 +0100

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository wallet-core.

The following commit(s) were added to refs/heads/master by this push:
     new a51abcff make refund-gone test case pass again (see #7158)
a51abcff is described below

commit a51abcffb04e29880170fb3aac550e5dc06e01d0
Author: Florian Dold <florian@dold.me>
AuthorDate: Mon Jan 24 22:44:17 2022 +0100

    make refund-gone test case pass again (see #7158)
---
 packages/taler-util/src/time.ts                  | 1 +
 packages/taler-wallet-cli/src/harness/helpers.ts | 6 ++++--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/packages/taler-util/src/time.ts b/packages/taler-util/src/time.ts
index 856db8a5..b941cf46 100644
--- a/packages/taler-util/src/time.ts
+++ b/packages/taler-util/src/time.ts
@@ -77,6 +77,7 @@ export namespace Duration {
     }
     return Math.ceil(d.d_ms / 1000 / 60 / 60 / 24 / 365);
   }
+  export const fromSpec = durationFromSpec;
 }
 
 export namespace Timestamp {
diff --git a/packages/taler-wallet-cli/src/harness/helpers.ts 
b/packages/taler-wallet-cli/src/harness/helpers.ts
index bac2eefc..a5d3b315 100644
--- a/packages/taler-wallet-cli/src/harness/helpers.ts
+++ b/packages/taler-wallet-cli/src/harness/helpers.ts
@@ -50,7 +50,7 @@ import {
   MerchantPrivateApi,
   HarnessExchangeBankAccount,
   WithAuthorization,
-  getPayto
+  getPayto,
 } from "./harness.js";
 import { WalletApiOperation } from "@gnu-taler/taler-wallet-core";
 
@@ -120,12 +120,14 @@ export async function createSimpleTestkudosEnvironment(
     id: "default",
     name: "Default Instance",
     paytoUris: [getPayto("merchant-default")],
+    defaultWireTransferDelay: Duration.fromSpec({ minutes: 1 }),
   });
 
   await merchant.addInstance({
     id: "minst1",
     name: "minst1",
     paytoUris: [getPayto("minst1")],
+    defaultWireTransferDelay: Duration.fromSpec({ minutes: 1 }),
   });
 
   console.log("setup done!");
@@ -270,7 +272,7 @@ export async function startWithdrawViaBank(
     exchangeBaseUrl: exchange.baseUrl,
     talerWithdrawUri: wop.taler_withdraw_uri,
   });
-  
+
   // Confirm it
 
   await BankApi.confirmWithdrawalOperation(bank, user, wop);

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]