Skip to content
Snippets Groups Projects
Commit 6a321ba3 authored by syuilo's avatar syuilo
Browse files

fix test

parent 34d1b463
No related branches found
No related tags found
No related merge requests found
......@@ -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({
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment