Fix jwt-token
This commit is contained in:
@@ -279,7 +279,7 @@ describe('IP Restriction Middleware', () => {
|
|||||||
|
|
||||||
await ipRestriction.checkIPRestriction(req, res, next);
|
await ipRestriction.checkIPRestriction(req, res, next);
|
||||||
|
|
||||||
expect(consoleLogSpy.calledWith(sinon.match(/🚫.*IP Access Denied/))).to.be.true;
|
expect(consoleLogSpy.calledWith(sinon.match(/\[SECURITY AUDIT\].*denied access to/))).to.be.true;
|
||||||
|
|
||||||
consoleLogSpy.restore();
|
consoleLogSpy.restore();
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user