diff --git a/tests/unit/services/group-sync.test.ts b/tests/unit/services/group-sync.test.ts index 2436719..a687a54 100644 --- a/tests/unit/services/group-sync.test.ts +++ b/tests/unit/services/group-sync.test.ts @@ -150,7 +150,7 @@ describe('GroupSyncService', () => { json: async () => ({ error: 'Not Found' }) })); - await expect(GroupSyncService.syncGroups()).rejects.toThrow('API request failed: Not Found'); + await expect(GroupSyncService.syncGroups()).rejects.toThrow('API request failed: 404 Not Found'); expect(consoleErrorMock).toHaveBeenCalled(); console.error = originalConsoleError;