Chocobozzz пре 5 година
родитељ
комит
ed10645c2f
1 измењених фајлова са 2 додато и 0 уклоњено
  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 () {