From 96d9ea3840626f71efe38018b75748d8338565fa Mon Sep 17 00:00:00 2001
From: Florian Dold <florian@dold.me>
Date: Fri, 26 May 2023 13:52:00 +0200
Subject: taler-util,wallet-core: make AbsoluteTime opaque

---
 .../taler-wallet-webextension/src/wallet/DeveloperPage.stories.tsx  | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

(limited to 'packages/taler-wallet-webextension/src/wallet/DeveloperPage.stories.tsx')

diff --git a/packages/taler-wallet-webextension/src/wallet/DeveloperPage.stories.tsx b/packages/taler-wallet-webextension/src/wallet/DeveloperPage.stories.tsx
index 28caf9c22..2ca5305f5 100644
--- a/packages/taler-wallet-webextension/src/wallet/DeveloperPage.stories.tsx
+++ b/packages/taler-wallet-webextension/src/wallet/DeveloperPage.stories.tsx
@@ -22,7 +22,7 @@
 import { PendingTaskType, TaskId } from "@gnu-taler/taler-wallet-core";
 import * as tests from "@gnu-taler/web-util/testing";
 import { View as TestedComponent } from "./DeveloperPage.js";
-import { PendingIdStr } from "@gnu-taler/taler-util";
+import { AbsoluteTime, PendingIdStr } from "@gnu-taler/taler-util";
 
 export default {
   title: "developer",
@@ -41,9 +41,7 @@ export const AllOff = tests.createExample(TestedComponent, {
       exchangeBaseUrl: "http://exchange.url.",
       givesLifeness: false,
       lastError: undefined,
-      timestampDue: {
-        t_ms: 123123213,
-      },
+      timestampDue: AbsoluteTime.fromMilliseconds(123123213),
       retryInfo: undefined,
       isDue: false,
       isLongpolling: false,
-- 
cgit v1.2.3

