From 5aed3122d6e3a4ab91d9fca6a946317ae8be0501 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B4mulo=20Penido?= Date: Tue, 19 Dec 2023 15:15:50 -0300 Subject: [PATCH] fix: merge conflicts --- .../taxonomy-detail/TaxonomyDetailPage.test.jsx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/taxonomy/taxonomy-detail/TaxonomyDetailPage.test.jsx b/src/taxonomy/taxonomy-detail/TaxonomyDetailPage.test.jsx index 74273410b1..a5c023b380 100644 --- a/src/taxonomy/taxonomy-detail/TaxonomyDetailPage.test.jsx +++ b/src/taxonomy/taxonomy-detail/TaxonomyDetailPage.test.jsx @@ -86,16 +86,16 @@ describe('', () => { }); it('should show system defined badge', async () => { - useTaxonomyDetailData.mockReturnValue({ + useTaxonomyDetailDataStatus.mockReturnValue({ isSuccess: true, isFetched: true, isError: false, - data: { - id: 1, - name: 'Test taxonomy', - description: 'This is a description', - systemDefined: true, - }, + }); + useTaxonomyDetailDataResponse.mockReturnValue({ + id: 1, + name: 'Test taxonomy', + description: 'This is a description', + systemDefined: true, }); const { getByText } = render(); expect(getByText('System-level')).toBeInTheDocument();