]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/helpers/comment-model.ts
Fix mention helper test
[github/Chocobozzz/PeerTube.git] / 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 () {