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