1
0
mirror of https://github.com/immich-app/immich.git synced 2025-08-08 23:07:06 +02:00

chore: asset sync FKs (#19927)

This commit is contained in:
Jason Rasmussen
2025-07-14 11:57:25 -04:00
committed by GitHub
parent a97ba4862f
commit 805ec3e351
9 changed files with 59 additions and 1 deletions

View File

@ -36,6 +36,8 @@ describe(SyncRequestType.AlbumAssetsV1, () => {
localDateTime: date,
deletedAt: null,
duration: '0:10:00.00000',
livePhotoVideoId: null,
stackId: null,
});
const { album } = await ctx.newAlbum({ ownerId: user2.id });
await ctx.newAlbumAsset({ albumId: album.id, assetId: asset.id });
@ -60,6 +62,8 @@ describe(SyncRequestType.AlbumAssetsV1, () => {
type: asset.type,
visibility: asset.visibility,
duration: asset.duration,
livePhotoVideoId: asset.livePhotoVideoId,
stackId: asset.stackId,
},
type: SyncEntityType.AlbumAssetV1,
},

View File

@ -57,6 +57,8 @@ describe(SyncEntityType.AssetV1, () => {
type: asset.type,
visibility: asset.visibility,
duration: asset.duration,
stackId: null,
livePhotoVideoId: null,
},
type: 'AssetV1',
},

View File

@ -63,6 +63,8 @@ describe(SyncRequestType.PartnerAssetsV1, () => {
type: asset.type,
visibility: asset.visibility,
duration: asset.duration,
stackId: null,
livePhotoVideoId: null,
},
type: SyncEntityType.PartnerAssetV1,
},