summaryrefslogtreecommitdiff
path: root/packages/taler-harness/src/integrationtests/test-merchant-refund-api.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-harness/src/integrationtests/test-merchant-refund-api.ts')
-rw-r--r--packages/taler-harness/src/integrationtests/test-merchant-refund-api.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/packages/taler-harness/src/integrationtests/test-merchant-refund-api.ts b/packages/taler-harness/src/integrationtests/test-merchant-refund-api.ts
index 1b69b9de6..7ee4c977b 100644
--- a/packages/taler-harness/src/integrationtests/test-merchant-refund-api.ts
+++ b/packages/taler-harness/src/integrationtests/test-merchant-refund-api.ts
@@ -22,7 +22,6 @@ import {
MerchantApiClient,
PreparePayResultType,
URL,
- durationFromSpec,
} from "@gnu-taler/taler-util";
import { WalletApiOperation } from "@gnu-taler/taler-wallet-core";
import {
@@ -59,7 +58,7 @@ async function testRefundApiWithFulfillmentUrl(
fulfillment_url: "https://example.com/fulfillment",
},
refund_delay: Duration.toTalerProtocolDuration(
- durationFromSpec({ minutes: 5 }),
+ Duration.fromSpec({ minutes: 5 }),
),
});
@@ -175,7 +174,7 @@ async function testRefundApiWithFulfillmentMessage(
fulfillment_message: "Thank you for buying foobar",
},
refund_delay: Duration.toTalerProtocolDuration(
- durationFromSpec({ minutes: 5 }),
+ Duration.fromSpec({ minutes: 5 }),
),
});