Skip to content

Commit

Permalink
fix: add test data for fileDownloadSizes
Browse files Browse the repository at this point in the history
  • Loading branch information
ekraffmiller committed Dec 12, 2023
1 parent d065095 commit 6a44d6f
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ export const WithNoDatasetPermissions: Story = {
permissions: DatasetPermissionsMother.createWithNoDatasetPermissions(),
version: DatasetVersionMother.createDraftAsLatestVersion(),
hasValidTermsOfAccess: true,
fileDownloadSizes: [
DatasetFileDownloadSizeMother.createOriginal(),
DatasetFileDownloadSizeMother.createArchival()
],
isValid: true,
isReleased: true
})}
Expand All @@ -66,6 +70,10 @@ export const WithUpdateAndNoPublishDatasetPermissions: Story = {
}),
version: DatasetVersionMother.createDraftAsLatestVersion(),
hasValidTermsOfAccess: true,
fileDownloadSizes: [
DatasetFileDownloadSizeMother.createOriginal(),
DatasetFileDownloadSizeMother.createArchival()
],
isValid: true,
isReleased: true
})}
Expand Down

0 comments on commit 6a44d6f

Please sign in to comment.