Skip to content

Commit a9ddda8

Browse files
fix: remove redundant test for archiving purpose template (PIN-8797)
1 parent f676caa commit a9ddda8

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/api/purposeTemplate/__test__/purposeTemplate.services.test.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -354,14 +354,6 @@ describe('PurposeTemplateServices', () => {
354354
`${BACKEND_FOR_FRONTEND_URL}/purposeTemplates/test-id/archive`
355355
)
356356
})
357-
358-
it('should make correct API call to archive purpose template', async () => {
359-
await PurposeTemplateServices.archivePurposeTemplate({ id: TEST_ID })
360-
361-
expect(axiosInstance.post).toHaveBeenCalledWith(
362-
`${BACKEND_FOR_FRONTEND_URL}/purposeTemplates/test-id/archive`
363-
)
364-
})
365357
})
366358

367359
describe('updateDocumentPrettyNameForAnnotation', () => {

0 commit comments

Comments
 (0)