diff --git a/app/modules/profile/profile-timeline-item/profile-timeline-item-title.service.spec.coffee b/app/modules/profile/profile-timeline-item/profile-timeline-item-title.service.spec.coffee index f9def537..fe9586f8 100644 --- a/app/modules/profile/profile-timeline-item/profile-timeline-item-title.service.spec.coffee +++ b/app/modules/profile/profile-timeline-item/profile-timeline-item-title.service.spec.coffee @@ -35,7 +35,8 @@ describe "tgProfileTimelineItemTitle", -> timeline = { data: { user: { - username: 'xx' + username: 'xx', + name: 'oo' } } } @@ -52,7 +53,7 @@ describe "tgProfileTimelineItemTitle", -> .returns('user-param') usernamelink = sinon.match ((value) -> - return value.username == 'xx' + return value.username == 'oo' ), "usernamelink" mockTranslate.instant