1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2025-02-07 13:41:44 +02:00
This commit is contained in:
Patrik J. Braun 2020-02-08 00:02:42 +01:00
parent d96a28dfaa
commit f2605933d2

View File

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