summaryrefslogtreecommitdiff
path: root/packages/taler-harness/src/integrationtests/test-refund-gone.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-harness/src/integrationtests/test-refund-gone.ts')
-rw-r--r--packages/taler-harness/src/integrationtests/test-refund-gone.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/packages/taler-harness/src/integrationtests/test-refund-gone.ts b/packages/taler-harness/src/integrationtests/test-refund-gone.ts
index 056560eb8..8a661868f 100644
--- a/packages/taler-harness/src/integrationtests/test-refund-gone.ts
+++ b/packages/taler-harness/src/integrationtests/test-refund-gone.ts
@@ -23,7 +23,6 @@ import {
MerchantApiClient,
TransactionMajorState,
TransactionType,
- durationFromSpec,
} from "@gnu-taler/taler-util";
import { WalletApiOperation } from "@gnu-taler/taler-wallet-core";
import { GlobalTestState } from "../harness/harness.js";
@@ -66,14 +65,14 @@ export async function runRefundGoneTest(t: GlobalTestState) {
pay_deadline: AbsoluteTime.toProtocolTimestamp(
AbsoluteTime.addDuration(
AbsoluteTime.now(),
- durationFromSpec({
+ Duration.fromSpec({
minutes: 10,
}),
),
),
},
refund_delay: Duration.toTalerProtocolDuration(
- durationFromSpec({ minutes: 1 }),
+ Duration.fromSpec({ minutes: 1 }),
),
});