Fix mention helper test
authorChocobozzz <me@florianbigard.com>
Thu, 14 Feb 2019 10:58:08 +0000 (11:58 +0100)
committerChocobozzz <me@florianbigard.com>
Fri, 15 Feb 2019 08:43:38 +0000 (09:43 +0100)
server/tests/helpers/comment-model.ts

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