diff --git a/frontend/src/hooks/tools/changePermissions/useChangePermissionsOperation.test.ts b/frontend/src/hooks/tools/changePermissions/useChangePermissionsOperation.test.ts index 715e44f73..4ffd9b45c 100644 --- a/frontend/src/hooks/tools/changePermissions/useChangePermissionsOperation.test.ts +++ b/frontend/src/hooks/tools/changePermissions/useChangePermissionsOperation.test.ts @@ -109,7 +109,7 @@ describe('useChangePermissionsOperation', () => { { property: 'multiFileEndpoint' as const, expectedValue: false }, { property: 'endpoint' as const, expectedValue: '/api/v1/security/add-password' }, { property: 'filePrefix' as const, expectedValue: 'permissions_' }, - { property: 'operationType' as const, expectedValue: 'changePermissions' } + { property: 'operationType' as const, expectedValue: 'change-permissions' } ])('should configure $property correctly', ({ property, expectedValue }) => { renderHook(() => useChangePermissionsOperation()); diff --git a/frontend/src/tests/convert/ConvertIntegration.test.tsx b/frontend/src/tests/convert/ConvertIntegration.test.tsx index c966615f4..41a768838 100644 --- a/frontend/src/tests/convert/ConvertIntegration.test.tsx +++ b/frontend/src/tests/convert/ConvertIntegration.test.tsx @@ -409,7 +409,7 @@ describe('Convert Tool Integration Tests', () => { // Verify integration: utils validation prevents API call, hook shows error expect(mockedAxios.post).not.toHaveBeenCalled(); - expect(result.current.errorMessage).toContain('errorNotSupported'); + expect(result.current.errorMessage).toContain('Unsupported conversion format'); expect(result.current.isLoading).toBe(false); expect(result.current.downloadUrl).toBe(null); });