Skip to content

Commit bd7f4e7

Browse files
committed
fix: a11ty test
1 parent 6098f23 commit bd7f4e7

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

src/stories/collection/collection-items-panel/CollectionCard.stories.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ export const Default: Story = {
2525
export const WithLongDescription: Story = {
2626
render: () => {
2727
const collectionPreview = CollectionItemTypePreviewMother.create({
28+
name: 'Scientific Research Collection',
2829
description: FakerHelper.paragraph(20)
2930
})
3031
return (

tests/component/collection/domain/models/CollectionItemTypePreviewMother.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ export class CollectionItemTypePreviewMother {
7575
}
7676
static createUnpublished(): CollectionItemTypePreview {
7777
return CollectionItemTypePreviewMother.createWithOnlyRequiredFields({
78+
name: 'Scientific Research Collection',
7879
isReleased: false,
7980
affiliation: FakerHelper.affiliation()
8081
})
@@ -93,6 +94,7 @@ export class CollectionItemTypePreviewMother {
9394

9495
static createWithThumbnail(): CollectionItemTypePreview {
9596
return CollectionItemTypePreviewMother.create({
97+
name: 'Scientific Research Collection',
9698
thumbnail: FakerHelper.getImageUrl()
9799
})
98100
}

0 commit comments

Comments
 (0)