From ed10645c2f3a40fcfd3bd8738ef6a08e53e114b4 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 14 Feb 2019 11:58:08 +0100 Subject: [PATCH] Fix mention helper test --- server/tests/helpers/comment-model.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/tests/helpers/comment-model.ts b/server/tests/helpers/comment-model.ts index 76bb0f212..ebfd779e1 100644 --- a/server/tests/helpers/comment-model.ts +++ b/server/tests/helpers/comment-model.ts @@ -10,6 +10,8 @@ class CommentMock { text: string extractMentions = VideoCommentModel.prototype.extractMentions + + isOwned = () => true } describe('Comment model', function () {