From 7137063021dd1605ca1ca93ed2f18fa67196adbc Mon Sep 17 00:00:00 2001 From: Joshua Kitenge Date: Thu, 25 Apr 2024 12:49:40 +0100 Subject: [PATCH] rename tests --- src/api/catalogueCategories.test.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/api/catalogueCategories.test.tsx b/src/api/catalogueCategories.test.tsx index d10bb4ae9..849ec9678 100644 --- a/src/api/catalogueCategories.test.tsx +++ b/src/api/catalogueCategories.test.tsx @@ -32,7 +32,7 @@ describe('catalogue categories api functions', () => { is_leaf: false, }; }); - it('posts a request to add a user session and returns successful response', async () => { + it('posts a request to add a catalogue category and returns successful response', async () => { const { result } = renderHook(() => useAddCatalogueCategory(), { wrapper: hooksWrapperWithProviders(), }); @@ -58,7 +58,7 @@ describe('catalogue categories api functions', () => { id: '4', }; }); - it('posts a request to add a user session and returns successful response', async () => { + it('posts a request to edit a catalogue category and returns successful response', async () => { const { result } = renderHook(() => useEditCatalogueCategory(), { wrapper: hooksWrapperWithProviders(), }); @@ -141,7 +141,7 @@ describe('catalogue categories api functions', () => { }; }); - it('posts a request to add a user session and returns successful response', async () => { + it('posts a request to delete a catalogue category and returns successful response', async () => { const { result } = renderHook(() => useDeleteCatalogueCategory(), { wrapper: hooksWrapperWithProviders(), });