From 182ee3c0da44ff02d476d8ac960d54b4e2786a02 Mon Sep 17 00:00:00 2001 From: Alex Tran Date: Sat, 21 Jan 2023 23:10:29 -0600 Subject: [PATCH] Fix immich-jwt test --- .../immich/src/modules/immich-jwt/immich-jwt.service.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/apps/immich/src/modules/immich-jwt/immich-jwt.service.spec.ts b/server/apps/immich/src/modules/immich-jwt/immich-jwt.service.spec.ts index 3a4a3629cb..5d7dbec99c 100644 --- a/server/apps/immich/src/modules/immich-jwt/immich-jwt.service.spec.ts +++ b/server/apps/immich/src/modules/immich-jwt/immich-jwt.service.spec.ts @@ -51,7 +51,7 @@ describe('ImmichJwtService', () => { const dto = { accessToken: 'test-user@immich.com', userId: 'test-user' }; const cookies = sut.getCookies(dto as LoginResponseDto, AuthType.PASSWORD, false); 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;', ]); });