You've already forked pigallery2
mirror of
https://github.com/bpatrik/pigallery2.git
synced 2025-12-05 23:18:43 +02:00
Fixing tests after adding extension manager #753
This commit is contained in:
@@ -18,6 +18,7 @@ describe('MetadataLoader', () => {
|
||||
Config.Database.type = DatabaseType.sqlite;
|
||||
Config.Faces.enabled = true;
|
||||
Config.Faces.keywordsToPersons = true;
|
||||
Config.Extensions.enabled = false;
|
||||
});
|
||||
|
||||
|
||||
@@ -66,7 +67,7 @@ describe('MetadataLoader', () => {
|
||||
});
|
||||
it('jpg 2', async () => {
|
||||
const data = await MetadataLoader.loadPhotoMetadata(
|
||||
path.join(__dirname, '/../../../assets/orientation/broken_orientation_exif2.jpg'));
|
||||
path.join(__dirname, '/../../../assets/orientation/broken_orientation_exif2.jpg'));
|
||||
const expected = require(path.join(__dirname, '/../../../assets/orientation/broken_orientation_exif2.json'));
|
||||
expect(Utils.clone(data)).to.be.deep.equal(expected);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user