Fix jwt-token
This commit is contained in:
@@ -10,6 +10,7 @@ describe('IP Restriction Middleware', () => {
|
||||
before(async () => {
|
||||
({ models, sequelize } = await setupTestEnvironment());
|
||||
ipRestriction = new IPRestrictionMiddleware();
|
||||
ipRestriction.setModels(models);
|
||||
});
|
||||
|
||||
after(async () => {
|
||||
|
||||
@@ -10,6 +10,7 @@ describe('Multi-Tenant Authentication Middleware', () => {
|
||||
before(async () => {
|
||||
({ models, sequelize } = await setupTestEnvironment());
|
||||
multiAuth = new MultiTenantAuth();
|
||||
multiAuth.setModels(models);
|
||||
});
|
||||
|
||||
after(async () => {
|
||||
|
||||
Reference in New Issue
Block a user