Add isAppQueryAuthenticated mock to user API tests
All checks were successful
farmcontrol/farmcontrol-api/pipeline/head This commit looks good

This commit is contained in:
Tom Butcher 2026-06-20 23:18:23 +01:00
parent fd636c6c82
commit cc1c827c0b

View File

@ -9,6 +9,7 @@ jest.unstable_mockModule('../keycloak.js', () => ({
}, },
isAuthenticated: (req, res, next) => next(), isAuthenticated: (req, res, next) => next(),
isAppAuthenticated: (req, res, next) => next(), isAppAuthenticated: (req, res, next) => next(),
isAppQueryAuthenticated: (req, res, next) => next(),
expressSession: (req, res, next) => next(), expressSession: (req, res, next) => next(),
})); }));