From: Chocobozzz Date: Thu, 14 Feb 2019 10:58:08 +0000 (+0100) Subject: Fix mention helper test X-Git-Tag: v1.2.1~2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=816970ff7a3978ee3e82dbf5dfda51c93724f299;p=oweals%2Fpeertube.git Fix mention helper test --- 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 () {