1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2024-12-02 09:12:07 +02:00

fixing settings route test

This commit is contained in:
Patrik J. Braun 2020-01-28 22:41:17 +01:00
parent 3a347c13e2
commit e85434d999

View File

@ -42,7 +42,7 @@ describe('SettingsRouter', () => {
result.res.should.have.status(200);
result.body.should.be.a('object');
should.equal(result.body.error, null);
result.body.result.should.deep.equal(originalSettings);
result.body.result.should.deep.equal(JSON.parse(JSON.stringify(originalSettings.toJSON({attachDefaults: true}))));
});
});