CacheModule作成時にTTLを設定

This commit is contained in:
SAITO-PC-3\saito.k 2024-04-19 19:15:23 +09:00
parent b88c0d9b96
commit 0b01da936d
2 changed files with 2 additions and 1 deletions

View File

@ -80,7 +80,7 @@ export const makeTestingModule = async (
WorktypesRepositoryModule,
TermsRepositoryModule,
RedisModule,
CacheModule.register({ isGlobal: true }),
CacheModule.register({ isGlobal: true, ttl: 86400 }),
],
providers: [
AuthService,

View File

@ -6873,6 +6873,7 @@ describe('deleteAccountAndData', () => {
expect(userRecord).toBe(null);
});
});
describe('getAccountInfoMinimalAccess', () => {
let source: DataSource | null = null;
beforeAll(async () => {