This commit is contained in:
syuilo 2023-10-16 14:35:44 +09:00
parent 34d1b463a4
commit 6a321ba340
1 changed files with 2 additions and 2 deletions

View File

@ -196,10 +196,10 @@ describe('RoleService', () => {
test('conditional role', async () => { test('conditional role', async () => {
const user1 = await createUser({ const user1 = await createUser({
createdAt: new Date(Date.now() - (1000 * 60 * 60 * 24 * 365)), id: genAidx(Date.now() - (1000 * 60 * 60 * 24 * 365)),
}); });
const user2 = await createUser({ const user2 = await createUser({
createdAt: new Date(Date.now() - (1000 * 60 * 60 * 24 * 365)), id: genAidx(Date.now() - (1000 * 60 * 60 * 24 * 365)),
followersCount: 10, followersCount: 10,
}); });
await createRole({ await createRole({