Browse Source

Fix mention helper test

Chocobozzz 5 years ago
parent
commit
ed10645c2f
1 changed files with 2 additions and 0 deletions
  1. 2 0
      server/tests/helpers/comment-model.ts

+ 2 - 0
server/tests/helpers/comment-model.ts

@@ -10,6 +10,8 @@ class CommentMock {
   text: string
   text: string
 
 
   extractMentions = VideoCommentModel.prototype.extractMentions
   extractMentions = VideoCommentModel.prototype.extractMentions
+
+  isOwned = () => true
 }
 }
 
 
 describe('Comment model', function () {
 describe('Comment model', function () {