aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-02-14 11:58:08 +0100
committerChocobozzz <me@florianbigard.com>2019-02-15 09:43:38 +0100
commited10645c2f3a40fcfd3bd8738ef6a08e53e114b4 (patch)
treec677e20a8c9eb1330086fda981f0c7cf3b695fd9
parent4759fedc6112cdb0b68b8550677c05a3b1ed62bd (diff)
downloadPeerTube-ed10645c2f3a40fcfd3bd8738ef6a08e53e114b4.tar.gz
PeerTube-ed10645c2f3a40fcfd3bd8738ef6a08e53e114b4.tar.zst
PeerTube-ed10645c2f3a40fcfd3bd8738ef6a08e53e114b4.zip
Fix mention helper test
-rw-r--r--server/tests/helpers/comment-model.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/tests/helpers/comment-model.ts b/server/tests/helpers/comment-model.ts
index 76bb0f212..ebfd779e1 100644
--- a/server/tests/helpers/comment-model.ts
+++ b/server/tests/helpers/comment-model.ts
@@ -10,6 +10,8 @@ class CommentMock {
10 text: string 10 text: string
11 11
12 extractMentions = VideoCommentModel.prototype.extractMentions 12 extractMentions = VideoCommentModel.prototype.extractMentions
13
14 isOwned = () => true
13} 15}
14 16
15describe('Comment model', function () { 17describe('Comment model', function () {