From: Chocobozzz Date: Thu, 14 Feb 2019 10:58:08 +0000 (+0100) Subject: Fix mention helper test X-Git-Tag: v1.3.0-rc.1~188 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ed10645c2f3a40fcfd3bd8738ef6a08e53e114b4;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 () {