Ver código fonte

Fix mention helper test

Chocobozzz 5 anos atrás
pai
commit
ed10645c2f
1 arquivos alterados com 2 adições e 0 exclusões
  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
 
   extractMentions = VideoCommentModel.prototype.extractMentions
+
+  isOwned = () => true
 }
 
 describe('Comment model', function () {