From 717dfe51e7d55c4e95350c406746a4e0462abcd0 Mon Sep 17 00:00:00 2001 From: Alex Tran Date: Thu, 10 Aug 2023 13:45:21 -0500 Subject: [PATCH] dev: stub --- server/test/fixtures/album.stub.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/server/test/fixtures/album.stub.ts b/server/test/fixtures/album.stub.ts index 8da88aa2d..53ed1ea30 100644 --- a/server/test/fixtures/album.stub.ts +++ b/server/test/fixtures/album.stub.ts @@ -17,6 +17,7 @@ export const albumStub = { updatedAt: new Date(), sharedLinks: [], sharedUsers: [], + policies: [], }), sharedWithUser: Object.freeze({ id: 'album-2', @@ -31,6 +32,7 @@ export const albumStub = { updatedAt: new Date(), sharedLinks: [], sharedUsers: [userStub.user1], + policies: [], }), sharedWithMultiple: Object.freeze({ id: 'album-3', @@ -45,6 +47,7 @@ export const albumStub = { updatedAt: new Date(), sharedLinks: [], sharedUsers: [userStub.user1, userStub.user2], + policies: [], }), sharedWithAdmin: Object.freeze({ id: 'album-3', @@ -59,6 +62,7 @@ export const albumStub = { updatedAt: new Date(), sharedLinks: [], sharedUsers: [userStub.admin], + policies: [], }), oneAsset: Object.freeze({ id: 'album-4', @@ -73,6 +77,7 @@ export const albumStub = { updatedAt: new Date(), sharedLinks: [], sharedUsers: [], + policies: [], }), twoAssets: Object.freeze({ id: 'album-4a', @@ -87,6 +92,7 @@ export const albumStub = { updatedAt: new Date(), sharedLinks: [], sharedUsers: [], + policies: [], }), emptyWithInvalidThumbnail: Object.freeze({ id: 'album-5', @@ -101,6 +107,7 @@ export const albumStub = { updatedAt: new Date(), sharedLinks: [], sharedUsers: [], + policies: [], }), emptyWithValidThumbnail: Object.freeze({ id: 'album-5', @@ -115,6 +122,7 @@ export const albumStub = { updatedAt: new Date(), sharedLinks: [], sharedUsers: [], + policies: [], }), oneAssetInvalidThumbnail: Object.freeze({ id: 'album-6', @@ -129,6 +137,7 @@ export const albumStub = { updatedAt: new Date(), sharedLinks: [], sharedUsers: [], + policies: [], }), oneAssetValidThumbnail: Object.freeze({ id: 'album-6', @@ -143,5 +152,6 @@ export const albumStub = { updatedAt: new Date(), sharedLinks: [], sharedUsers: [], + policies: [], }), };