mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 12:05:57 +01:00
test: fix broken test in category follows
This commit is contained in:
@@ -64,7 +64,7 @@ Mocks.profile = async (actors) => {
|
||||
userslug: `${preferredUsername}@${hostname}`,
|
||||
displayname: name,
|
||||
fullname: name,
|
||||
joindate: new Date(published).getTime(),
|
||||
joindate: new Date(published).getTime() || Date.now(),
|
||||
picture,
|
||||
status: 'offline',
|
||||
'icon:text': (preferredUsername[0] || '').toUpperCase(),
|
||||
|
||||
Reference in New Issue
Block a user