Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix mention helper test

Chocobozzzed10645c2f3a
diff --git a/server/tests/helpers/comment-model.ts b/server/tests/helpers/comment-model.ts
index 76bb0f2123..ebfd779e1a 100644
--- a/server/tests/helpers/comment-model.ts
+++ b/server/tests/helpers/comment-model.ts
@@ -10,6 +10,8 @@ class CommentMock {
text: string
extractMentions = VideoCommentModel.prototype.extractMentions
+
+ isOwned = () => true
}
describe('Comment model', function () {