projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4759fed
)
Fix mention helper test
author
Chocobozzz
<me@florianbigard.com>
Thu, 14 Feb 2019 10:58:08 +0000
(11:58 +0100)
committer
Chocobozzz
<me@florianbigard.com>
Fri, 15 Feb 2019 08:43:38 +0000
(09:43 +0100)
server/tests/helpers/comment-model.ts
patch
|
blob
|
history
diff --git
a/server/tests/helpers/comment-model.ts
b/server/tests/helpers/comment-model.ts
index 76bb0f21231e01bb0ed0bf296d607f745e5307b2..ebfd779e1a2dc3ced834fcd76f8ec5e467e5ee91 100644
(file)
--- 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 () {