Add isAppQueryAuthenticated mock to user API tests
All checks were successful
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
All checks were successful
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
This commit is contained in:
parent
fd636c6c82
commit
cc1c827c0b
@ -9,6 +9,7 @@ jest.unstable_mockModule('../keycloak.js', () => ({
|
||||
},
|
||||
isAuthenticated: (req, res, next) => next(),
|
||||
isAppAuthenticated: (req, res, next) => next(),
|
||||
isAppQueryAuthenticated: (req, res, next) => next(),
|
||||
expressSession: (req, res, next) => next(),
|
||||
}));
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user