diff options
author | Chocobozzz <me@florianbigard.com> | 2019-02-14 11:58:08 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-02-15 09:43:38 +0100 |
commit | ed10645c2f3a40fcfd3bd8738ef6a08e53e114b4 (patch) | |
tree | c677e20a8c9eb1330086fda981f0c7cf3b695fd9 | |
parent | 4759fedc6112cdb0b68b8550677c05a3b1ed62bd (diff) | |
download | PeerTube-ed10645c2f3a40fcfd3bd8738ef6a08e53e114b4.tar.gz PeerTube-ed10645c2f3a40fcfd3bd8738ef6a08e53e114b4.tar.zst PeerTube-ed10645c2f3a40fcfd3bd8738ef6a08e53e114b4.zip |
Fix mention helper test
-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 () { |