mirror of
https://github.com/immich-app/immich.git
synced 2025-01-19 18:26:46 +01:00
Fix immich-jwt test
This commit is contained in:
parent
efe204fef8
commit
182ee3c0da
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ describe('ImmichJwtService', () => {
|
||||||
const dto = { accessToken: 'test-user@immich.com', userId: 'test-user' };
|
const dto = { accessToken: 'test-user@immich.com', userId: 'test-user' };
|
||||||
const cookies = sut.getCookies(dto as LoginResponseDto, AuthType.PASSWORD, false);
|
const cookies = sut.getCookies(dto as LoginResponseDto, AuthType.PASSWORD, false);
|
||||||
expect(cookies).toEqual([
|
expect(cookies).toEqual([
|
||||||
'immich_access_token=test-user@immich.com; HttpOnly; Path=/; Max-Age=604800 SameSite=Strict;',
|
'immich_access_token=test-user@immich.com; HttpOnly; Path=/; Max-Age=604800; SameSite=Strict;',
|
||||||
'immich_auth_type=password; HttpOnly; Path=/; Max-Age=604800; SameSite=Strict;',
|
'immich_auth_type=password; HttpOnly; Path=/; Max-Age=604800; SameSite=Strict;',
|
||||||
]);
|
]);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue