Add server host in notification account field

This commit is contained in:
Chocobozzz
2019-01-21 13:52:46 +01:00
parent cfeae291c0
commit 38967f7b73
5 changed files with 19 additions and 4 deletions

View File

@@ -26,6 +26,7 @@ export interface ActorInfo {
id: number
displayName: string
name: string
host: string
avatar?: {
path: string
}

View File

@@ -146,6 +146,7 @@ function checkVideo (video: any, videoName?: string, videoUUID?: string) {
function checkActor (actor: any) {
expect(actor.displayName).to.be.a('string')
expect(actor.displayName).to.not.be.empty
expect(actor.host).to.not.be.undefined
}
function checkComment (comment: any, commentId: number, threadId: number) {