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(), });