]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/utils/users/user-notifications.ts
Fix tests
[github/Chocobozzz/PeerTube.git] / shared / utils / users / user-notifications.ts
index b85d5d2f19f6dc629960babef51171c0f91407ea..c8ed7df306e0d4d18b914fbb1d8fe9eed4f85444 100644 (file)
@@ -274,8 +274,8 @@ async function checkNewActorFollow (
       checkActor(notification.actorFollow.follower)
       expect(notification.actorFollow.follower.displayName).to.equal(followerDisplayName)
       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.type).to.equal(followType)
     } else {