Skip to content

Commit

Permalink
rename tests
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuadkitenge committed Apr 25, 2024
1 parent 1ce0980 commit 7137063
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/api/catalogueCategories.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
});
Expand All @@ -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(),
});
Expand Down Expand Up @@ -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(),
});
Expand Down

0 comments on commit 7137063

Please sign in to comment.