aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-cli/src/integrationtests/test-refund-auto.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2022-03-22 23:03:41 +0100
committerFlorian Dold <florian@dold.me>2022-03-22 23:03:41 +0100
commit739c2f933770206b173a9b3cbafa79ee6048ff9d (patch)
treeaaae15f5f22a0fe1a8449494a50477ca9ed3a0a5 /packages/taler-wallet-cli/src/integrationtests/test-refund-auto.ts
parent5d23eb36354d07508a015531f298b3e261bbafce (diff)
downloadwallet-core-739c2f933770206b173a9b3cbafa79ee6048ff9d.tar.xz
wallet: more time format fixes
Diffstat (limited to 'packages/taler-wallet-cli/src/integrationtests/test-refund-auto.ts')
-rw-r--r--packages/taler-wallet-cli/src/integrationtests/test-refund-auto.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/taler-wallet-cli/src/integrationtests/test-refund-auto.ts b/packages/taler-wallet-cli/src/integrationtests/test-refund-auto.ts
index 574177c8c..4c2a2f94a 100644
--- a/packages/taler-wallet-cli/src/integrationtests/test-refund-auto.ts
+++ b/packages/taler-wallet-cli/src/integrationtests/test-refund-auto.ts
@@ -22,7 +22,7 @@ import {
createSimpleTestkudosEnvironment,
withdrawViaBank,
} from "../harness/helpers.js";
-import { durationFromSpec } from "@gnu-taler/taler-util";
+import { Duration, durationFromSpec } from "@gnu-taler/taler-util";
import { WalletApiOperation } from "@gnu-taler/taler-wallet-core";
/**
@@ -48,7 +48,9 @@ export async function runRefundAutoTest(t: GlobalTestState) {
d_us: 3000 * 1000,
},
},
- refund_delay: durationFromSpec({ minutes: 5 }),
+ refund_delay: Duration.toTalerProtocolDuration(
+ durationFromSpec({ minutes: 5 }),
+ ),
});
let orderStatus = await MerchantPrivateApi.queryPrivateOrderStatus(merchant, {