diff options
Diffstat (limited to 'server/tests/helpers/comment-model.ts')
-rw-r--r-- | server/tests/helpers/comment-model.ts | 2 |
1 files changed, 2 insertions, 0 deletions
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 { | |||
10 | text: string | 10 | text: string |
11 | 11 | ||
12 | extractMentions = VideoCommentModel.prototype.extractMentions | 12 | extractMentions = VideoCommentModel.prototype.extractMentions |
13 | |||
14 | isOwned = () => true | ||
13 | } | 15 | } |
14 | 16 | ||
15 | describe('Comment model', function () { | 17 | describe('Comment model', function () { |