test: fix broken test in category follows

This commit is contained in:
Julian Lam
2024-07-05 13:33:00 -04:00
parent 8ecbb5cc5c
commit 4949d6c4e5
2 changed files with 6 additions and 2 deletions

View File

@@ -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(),