diff options
author | Chocobozzz <me@florianbigard.com> | 2019-02-14 11:58:08 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-02-14 11:58:08 +0100 |
commit | 816970ff7a3978ee3e82dbf5dfda51c93724f299 (patch) | |
tree | 9ee42b5fc6d161f1067847b230745161b30d9a05 /server/tests | |
parent | 7a338188f3ce6c3aa53054afaa936aa807d65fd8 (diff) | |
download | PeerTube-816970ff7a3978ee3e82dbf5dfda51c93724f299.tar.gz PeerTube-816970ff7a3978ee3e82dbf5dfda51c93724f299.tar.zst PeerTube-816970ff7a3978ee3e82dbf5dfda51c93724f299.zip |
Fix mention helper test
Diffstat (limited to 'server/tests')
-rw-r--r-- | server/tests/helpers/comment-model.ts | 2 |
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 | ||
15 | describe('Comment model', function () { | 17 | describe('Comment model', function () { |