fix debug tests

This commit is contained in:
Phillip Thelen
2024-06-19 17:30:37 +02:00
parent 5d5275ce70
commit db41e00990
8 changed files with 8 additions and 8 deletions

View File

@@ -28,7 +28,7 @@ describe('GET /debug/time-travel-time', () => {
});
it('returns error when not in time travel mode', async () => {
nconf.set('TIME_TRAVEL_ENABLED', false);
sandbox.stub(nconf, 'get').withArgs('TIME_TRAVEL_ENABLED').returns(false);
await expect(user.get('/debug/time-travel-time'))
.eventually.be.rejected.and.to.deep.equal({