From c1fe104a778c25eab8a1ec9e65be0fc28bb67da0 Mon Sep 17 00:00:00 2001 From: eljamm Date: Fri, 30 May 2025 09:42:20 +0200 Subject: [PATCH] tests/taler: adjust currency wire fees because making a withdrawal fails if the fees are 0, for some reason. --- nixos/tests/taler/tests/basic.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/nixos/tests/taler/tests/basic.nix b/nixos/tests/taler/tests/basic.nix index a27e80357a26..c8b860701506 100644 --- a/nixos/tests/taler/tests/basic.nix +++ b/nixos/tests/taler/tests/basic.nix @@ -97,8 +97,8 @@ import ../../make-test-python.nix ( exchange.succeed('taler-exchange-offline -c "${configFile}" upload < ${exchangeAccount}') # Set up wire fees, needed in order to deposit coins/pay merchant - exchange.succeed('taler-exchange-offline -c "${configFile}" wire-fee now x-taler-bank "${CURRENCY}:0" "${CURRENCY}:0" upload') - exchange.succeed('taler-exchange-offline -c "${configFile}" global-fee now "${CURRENCY}:0" "${CURRENCY}:0" "${CURRENCY}:0" 1h 6a 0 upload') + exchange.succeed('taler-exchange-offline -c "${configFile}" wire-fee now x-taler-bank "${CURRENCY}:0.01" "${CURRENCY}:0.01" upload') + exchange.succeed('taler-exchange-offline -c "${configFile}" global-fee now "${CURRENCY}:0.01" "${CURRENCY}:0.0" "${CURRENCY}:0" 1h 6a 0 upload') # Verify that exchange keys exist @@ -204,7 +204,8 @@ import ../../make-test-python.nix ( with subtest("Pay for an order"): - balanceWanted = "${CURRENCY}:9" # after paying + # after paying (1 for the order and 0.1 as fee) + balanceWanted = "${CURRENCY}:8.9" # Create an order to be paid response = json.loads(