Skip to content

Commit

Permalink
update mock data
Browse files Browse the repository at this point in the history
  • Loading branch information
huytran17 committed May 28, 2024
1 parent 5f7ef87 commit f4e96f8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/server/__tests__/__mock__/make-fake-user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@ export default function makeFakeUser({ faker }: { faker: any }): FakeUser {
"$2b$10$NFtC.yQZ.JMI3HT1KBq8OOyY3EPu8oqmiXMQpGodmbYl9xblDX1gi",
full_name: faker.name.fullName(),
is_blocked_comment: false,
is_online: false,
email: faker.internet.email(),
login_failed_times: 0,
created_at: faker.date.recent(),
updated_at: faker.date.recent(),
last_online_at: faker.date.recent(),
deleted_at: null,
};
};
Expand Down

0 comments on commit f4e96f8

Please sign in to comment.