Fix tests

pull/1567/head
Chocobozzz 2019-01-21 15:58:07 +01:00
parent 0f80cb03c6
commit ebff55d8d6
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 2 additions and 2 deletions

View File

@ -149,7 +149,7 @@ let SCHEDULER_INTERVALS_MS = {
actorFollowScores: 60000 * 60, // 1 hour actorFollowScores: 60000 * 60, // 1 hour
removeOldJobs: 60000 * 60, // 1 hour removeOldJobs: 60000 * 60, // 1 hour
updateVideos: 60000, // 1 minute updateVideos: 60000, // 1 minute
youtubeDLUpdate: 60000 * 60 * 24 // 1 day youtubeDLUpdate: 60000 // 1 day
} }
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------

View File

@ -274,8 +274,8 @@ async function checkNewActorFollow (
checkActor(notification.actorFollow.follower) checkActor(notification.actorFollow.follower)
expect(notification.actorFollow.follower.displayName).to.equal(followerDisplayName) expect(notification.actorFollow.follower.displayName).to.equal(followerDisplayName)
expect(notification.actorFollow.follower.name).to.equal(followerName) expect(notification.actorFollow.follower.name).to.equal(followerName)
expect(notification.actorFollow.follower.host).to.not.be.undefined
checkActor(notification.actorFollow.following)
expect(notification.actorFollow.following.displayName).to.equal(followingDisplayName) expect(notification.actorFollow.following.displayName).to.equal(followingDisplayName)
expect(notification.actorFollow.following.type).to.equal(followType) expect(notification.actorFollow.following.type).to.equal(followType)
} else { } else {