From 816970ff7a3978ee3e82dbf5dfda51c93724f299 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 14 Feb 2019 11:58:08 +0100 Subject: Fix mention helper test --- server/tests/helpers/comment-model.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'server/tests') 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 () { -- cgit v1.2.3