diff options
author | Chocobozzz <me@florianbigard.com> | 2019-01-21 15:58:07 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-01-21 15:58:07 +0100 |
commit | ebff55d8d6747d0627f135ab668f43e0d6125a37 (patch) | |
tree | 0fe3225db33b9b03b03bad4a8eba0961a8b9ce06 /shared/utils/users/user-notifications.ts | |
parent | 0f80cb03c66f4eb429a296f7c722e91d78e29ade (diff) | |
download | PeerTube-ebff55d8d6747d0627f135ab668f43e0d6125a37.tar.gz PeerTube-ebff55d8d6747d0627f135ab668f43e0d6125a37.tar.zst PeerTube-ebff55d8d6747d0627f135ab668f43e0d6125a37.zip |
Fix tests
Diffstat (limited to 'shared/utils/users/user-notifications.ts')
-rw-r--r-- | shared/utils/users/user-notifications.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/utils/users/user-notifications.ts b/shared/utils/users/user-notifications.ts index b85d5d2f1..c8ed7df30 100644 --- a/shared/utils/users/user-notifications.ts +++ b/shared/utils/users/user-notifications.ts | |||
@@ -274,8 +274,8 @@ async function checkNewActorFollow ( | |||
274 | checkActor(notification.actorFollow.follower) | 274 | checkActor(notification.actorFollow.follower) |
275 | expect(notification.actorFollow.follower.displayName).to.equal(followerDisplayName) | 275 | expect(notification.actorFollow.follower.displayName).to.equal(followerDisplayName) |
276 | expect(notification.actorFollow.follower.name).to.equal(followerName) | 276 | expect(notification.actorFollow.follower.name).to.equal(followerName) |
277 | expect(notification.actorFollow.follower.host).to.not.be.undefined | ||
277 | 278 | ||
278 | checkActor(notification.actorFollow.following) | ||
279 | expect(notification.actorFollow.following.displayName).to.equal(followingDisplayName) | 279 | expect(notification.actorFollow.following.displayName).to.equal(followingDisplayName) |
280 | expect(notification.actorFollow.following.type).to.equal(followType) | 280 | expect(notification.actorFollow.following.type).to.equal(followType) |
281 | } else { | 281 | } else { |