The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.
TypeScript budget-trackercollaborativedockeritinerarymcp-serveroffline-firstopen-sourceopenstreetmappacking-listpwareal-timeself-hostedselfhostedtraveltravel-apptravel-journaltravel-plannertripitwanderlog
test(oauth): the module now provides the token retention job
Mauricebd8e1a287b95
diff --git a/server/tests/unit/nest/oauth.service.test.ts b/server/tests/unit/nest/oauth.service.test.tsindex b2a2cda77..9b4b4e574 100644--- a/server/tests/unit/nest/oauth.service.test.ts+++ b/server/tests/unit/nest/oauth.service.test.ts@@ -1316,13 +1316,14 @@ describe('OauthModule', () => {const { OauthService: Svc } = await import('../../../src/nest/oauth/oauth.service');const { TrekClientsStore, TrekOAuthProvider } = await import('../../../src/nest/oauth/oauth-sdk.provider');+ const { OauthTokenRetentionJob } = await import('../../../src/nest/oauth/oauth-token-retention.job');const controllers = Reflect.getMetadata('controllers', OauthModule);const providers = Reflect.getMetadata('providers', OauthModule);expect(controllers).toEqual([OauthPublicController, OauthApiController]);// RateLimitService is deliberately absent: it comes from the global// RateLimitModule so all consumers share one set of counters.- expect(providers).toEqual([Svc, TrekClientsStore, TrekOAuthProvider]);+ expect(providers).toEqual([Svc, TrekClientsStore, TrekOAuthProvider, OauthTokenRetentionJob]);});});