Fix jwt-token
This commit is contained in:
@@ -153,7 +153,7 @@ describe('Multi-Tenant Authentication Middleware', () => {
|
||||
const res = mockResponse();
|
||||
const next = mockNext();
|
||||
|
||||
await multiAuth.middleware(req, res, next);
|
||||
await multiAuth.authenticate(req, res, next);
|
||||
|
||||
expect(res.statusCode).to.equal(403);
|
||||
expect(res.data).to.deep.equal({
|
||||
|
||||
Reference in New Issue
Block a user