diff --git a/test/backend/assets/sidecar/metadata.jpg_original b/test/backend/assets/sidecar/metadata.jpg_original deleted file mode 100644 index c3d685e8..00000000 Binary files a/test/backend/assets/sidecar/metadata.jpg_original and /dev/null differ diff --git a/test/backend/assets/sidecar/metadata_v2.jpg b/test/backend/assets/sidecar/metadata_v2.jpg index c3d685e8..6afec581 100644 Binary files a/test/backend/assets/sidecar/metadata_v2.jpg and b/test/backend/assets/sidecar/metadata_v2.jpg differ diff --git a/test/backend/assets/sidecar/metadata_v2.jpg.json b/test/backend/assets/sidecar/metadata_v2.jpg.json index 5c544af4..e66ce699 100644 --- a/test/backend/assets/sidecar/metadata_v2.jpg.json +++ b/test/backend/assets/sidecar/metadata_v2.jpg.json @@ -3,8 +3,8 @@ "width": 10, "height": 5 }, - "creationDate": 1709057753000, - "fileSize": 4489, + "creationDate": 1710188754000, + "fileSize": 5095, "keywords": [ "floor", "book", diff --git a/test/backend/unit/model/threading/MetaDataLoader.spec.ts b/test/backend/unit/model/threading/MetaDataLoader.spec.ts index 298c6582..e0b0b8c6 100644 --- a/test/backend/unit/model/threading/MetaDataLoader.spec.ts +++ b/test/backend/unit/model/threading/MetaDataLoader.spec.ts @@ -155,7 +155,8 @@ describe('MetadataLoader', () => { it('should merge keywords from photo with keywords from sidecar', async () => { const data = await MetadataLoader.loadPhotoMetadata(path.join(__dirname, '/../../../assets/sidecar/metadata_v2.jpg')); - const expected = require(path.join(__dirname, '/../../../assets/sidecar/metadata_v2.jpg.json')); //"metadata_v2.jpg" is identical to "metadata.jpg" and "metadata_v2.xmp" contains 2 different keywords expect(Utils.clone(data)).to.be.deep.equal(expected); + const expected = require(path.join(__dirname, '/../../../assets/sidecar/metadata_v2.jpg.json')); //"metadata_v2.jpg" is identical to "metadata.jpg" and "metadata_v2.xmp" contains 2 different keywords + expect(Utils.clone(data)).to.be.deep.equal(expected); });