mirror of
https://github.com/bpatrik/pigallery2.git
synced 2025-02-07 13:41:44 +02:00
test fix
This commit is contained in:
parent
d96a28dfaa
commit
f2605933d2
@ -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}))));
|
||||
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user