mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-28 03:46:43 -06:00
fix test
This commit is contained in:
parent
34d1b463a4
commit
6a321ba340
1 changed files with 2 additions and 2 deletions
|
@ -196,10 +196,10 @@ describe('RoleService', () => {
|
|||
|
||||
test('conditional role', async () => {
|
||||
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({
|
||||
createdAt: new Date(Date.now() - (1000 * 60 * 60 * 24 * 365)),
|
||||
id: genAidx(Date.now() - (1000 * 60 * 60 * 24 * 365)),
|
||||
followersCount: 10,
|
||||
});
|
||||
await createRole({
|
||||
|
|
Loading…
Reference in a new issue