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

@@ -149,7 +149,7 @@ describe('POST /debug/modify-inventory', () => {
});
it('returns error when not in production mode', async () => {
nconf.set('IS_PROD', true);
sandbox.stub(nconf, 'get').withArgs('IS_PROD').returns(true);
await expect(user.post('/debug/modify-inventory'))
.eventually.be.rejected.and.to.deep.equal({