From f749bae1e90a07e9a5eb1a207c6e90f63ea216fa Mon Sep 17 00:00:00 2001 From: Tiberiu Ichim Date: Fri, 13 Dec 2024 09:50:36 +0200 Subject: [PATCH] Fix tests --- searchlib/components/SearchView/FilterAsideContentView.jsx | 7 ++++--- src/SearchBlock/BlockContainer/NewBlockAddButton.test.jsx | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/searchlib/components/SearchView/FilterAsideContentView.jsx b/searchlib/components/SearchView/FilterAsideContentView.jsx index 693874bef..07762300d 100644 --- a/searchlib/components/SearchView/FilterAsideContentView.jsx +++ b/searchlib/components/SearchView/FilterAsideContentView.jsx @@ -118,15 +118,16 @@ export const FilterAsideContentView = (props) => { - - - +
{!!showPaging && }
+
+ +
diff --git a/src/SearchBlock/BlockContainer/NewBlockAddButton.test.jsx b/src/SearchBlock/BlockContainer/NewBlockAddButton.test.jsx index 612b046ad..09842ac3c 100644 --- a/src/SearchBlock/BlockContainer/NewBlockAddButton.test.jsx +++ b/src/SearchBlock/BlockContainer/NewBlockAddButton.test.jsx @@ -19,6 +19,7 @@ describe('NewBlockAddButton', () => { beforeEach(() => { jest.clearAllMocks(); store = mockStore({ + userSession: { token: '1234' }, intl: { locale: 'en', formatMessage: () => 'Select layout',