mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 02:39:33 +02:00
Begin unit tests
This commit is contained in:
parent
bf1f650817
commit
d3ea897591
9 changed files with 252 additions and 42 deletions
|
@ -267,7 +267,7 @@ function createVideoComment (byActor: ActorModel, activity: ActivityCreate) {
|
|||
originCommentId: null,
|
||||
inReplyToComment: null,
|
||||
videoId: video.id,
|
||||
actorId: byActor.id
|
||||
accountId: byAccount.id
|
||||
}, { transaction: t })
|
||||
}
|
||||
|
||||
|
@ -281,7 +281,7 @@ function createVideoComment (byActor: ActorModel, activity: ActivityCreate) {
|
|||
originCommentId,
|
||||
inReplyToCommentId: inReplyToComment.id,
|
||||
videoId: inReplyToComment.videoId,
|
||||
actorId: byActor.id
|
||||
accountId: byAccount.id
|
||||
}, { transaction: t })
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue