summaryrefslogtreecommitdiffstats
path: root/src/components/organisms/layout/comment.test.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/organisms/layout/comment.test.tsx')
-rw-r--r--src/components/organisms/layout/comment.test.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/organisms/layout/comment.test.tsx b/src/components/organisms/layout/comment.test.tsx
index 490a52b..66003d1 100644
--- a/src/components/organisms/layout/comment.test.tsx
+++ b/src/components/organisms/layout/comment.test.tsx
@@ -12,7 +12,7 @@ describe('Comment', () => {
it('renders an avatar', () => {
render(<Comment canReply={true} {...data} />);
expect(
- screen.getByRole('img', { name: 'Your name avatar' })
+ screen.getByRole('img', { name: author.avatar.alt })
).toBeInTheDocument();
});