diff options
Diffstat (limited to 'packages/taler-wallet-webextension/src/wallet/Backup.stories.tsx')
-rw-r--r-- | packages/taler-wallet-webextension/src/wallet/Backup.stories.tsx | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/packages/taler-wallet-webextension/src/wallet/Backup.stories.tsx b/packages/taler-wallet-webextension/src/wallet/Backup.stories.tsx index b2771bc2a..92536db85 100644 --- a/packages/taler-wallet-webextension/src/wallet/Backup.stories.tsx +++ b/packages/taler-wallet-webextension/src/wallet/Backup.stories.tsx @@ -23,6 +23,7 @@ import { ProviderPaymentType } from "@gnu-taler/taler-wallet-core"; import { addDays } from "date-fns"; import { BackupView as TestedComponent } from "./BackupPage"; import { createExample } from "../test-utils"; +import { TalerProtocolTimestamp } from "@gnu-taler/taler-util"; export default { title: "wallet/backup/list", @@ -40,9 +41,8 @@ export const LotOfProviders = createExample(TestedComponent, { active: true, name: "sync.demo", syncProviderBaseUrl: "http://sync.taler:9967/", - lastSuccessfulBackupTimestamp: { - t_ms: 1625063925078, - }, + lastSuccessfulBackupTimestamp: + TalerProtocolTimestamp.fromSeconds(1625063925), paymentProposalIds: [ "43Q5WWRJPNS4SE9YKS54H9THDS94089EDGXW9EHBPN6E7M184XEG", ], @@ -62,9 +62,8 @@ export const LotOfProviders = createExample(TestedComponent, { active: true, name: "sync.demo", syncProviderBaseUrl: "http://sync.taler:9967/", - lastSuccessfulBackupTimestamp: { - t_ms: 1625063925078, - }, + lastSuccessfulBackupTimestamp: + TalerProtocolTimestamp.fromSeconds(1625063925), paymentProposalIds: [ "43Q5WWRJPNS4SE9YKS54H9THDS94089EDGXW9EHBPN6E7M184XEG", ], @@ -172,9 +171,8 @@ export const OneProvider = createExample(TestedComponent, { active: true, name: "sync.demo", syncProviderBaseUrl: "http://sync.taler:9967/", - lastSuccessfulBackupTimestamp: { - t_ms: 1625063925078, - }, + lastSuccessfulBackupTimestamp: + TalerProtocolTimestamp.fromSeconds(1625063925), paymentProposalIds: [ "43Q5WWRJPNS4SE9YKS54H9THDS94089EDGXW9EHBPN6E7M184XEG", ], |