diff options
author | Florian Dold <florian@dold.me> | 2022-03-18 15:32:41 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2022-03-21 19:20:48 +0100 |
commit | f8d12f7b0d4af1b1769b89e80c87f9c169678564 (patch) | |
tree | 2478696c7bc1efc6d090b93aa340de542a7dccd9 /packages/taler-wallet-webextension/src/wallet/Backup.stories.tsx | |
parent | 32cd54e11d80bde0274b3c0238f8f5bd00ff83cb (diff) | |
download | wallet-core-f8d12f7b0d4af1b1769b89e80c87f9c169678564.tar.xz |
wallet: t_s/d_us migration
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", ], |