diff --git a/src/components/FilterBar.jsx b/src/components/FilterBar.jsx index da5b9427..c3eb08d6 100644 --- a/src/components/FilterBar.jsx +++ b/src/components/FilterBar.jsx @@ -175,7 +175,7 @@ const FilterBar = ({ diff --git a/src/discussions/posts/PostsView.test.jsx b/src/discussions/posts/PostsView.test.jsx index 8e5f0108..7aaad221 100644 --- a/src/discussions/posts/PostsView.test.jsx +++ b/src/discussions/posts/PostsView.test.jsx @@ -1,5 +1,3 @@ -import React from 'react'; - import { fireEvent, render, screen } from '@testing-library/react'; import MockAdapter from 'axios-mock-adapter'; import { act } from 'react-dom/test-utils'; @@ -232,7 +230,7 @@ describe('PostsView', () => { test('test that the cohorts filter works', async () => { await act(async () => { - fireEvent.click(screen.getByLabelText('Cohort 1')); + fireEvent.click(screen.getByLabelText('cohort 1')); }); dropDownButton = screen.getByRole('button', { @@ -280,7 +278,7 @@ describe('PostsView', () => { queryParam: { group_id: undefined }, }, { - label: 'Cohort 1', + label: 'cohort 1', queryParam: { group_id: 'cohort-1' }, }, ])( diff --git a/src/discussions/posts/post-filter-bar/PostFilterBar.jsx b/src/discussions/posts/post-filter-bar/PostFilterBar.jsx index f601cb04..3daae3c0 100644 --- a/src/discussions/posts/post-filter-bar/PostFilterBar.jsx +++ b/src/discussions/posts/post-filter-bar/PostFilterBar.jsx @@ -165,7 +165,7 @@ const PostFilterBar = () => {