mirror of
https://github.com/immich-app/immich.git
synced 2026-05-30 03:22:36 -04:00
fix: oauthlink cleanup mock
This commit is contained in:
@@ -20,6 +20,7 @@ describe('SessionService', () => {
|
||||
describe('handleCleanup', () => {
|
||||
it('should clean sessions', async () => {
|
||||
mocks.session.cleanup.mockResolvedValue([]);
|
||||
mocks.oauthLinkToken.cleanup.mockResolvedValue(0);
|
||||
await expect(sut.handleCleanup()).resolves.toEqual(JobStatus.Success);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user