mirror of https://github.com/Chocobozzz/PeerTube
Fix tests
parent
331e7cb3c5
commit
5f09fde24e
|
@ -119,9 +119,9 @@ export class LiveCommand extends AbstractCommand {
|
||||||
}
|
}
|
||||||
|
|
||||||
async quickCreate (options: OverrideCommandOptions & {
|
async quickCreate (options: OverrideCommandOptions & {
|
||||||
name: string
|
|
||||||
saveReplay: boolean
|
saveReplay: boolean
|
||||||
permanentLive: boolean
|
permanentLive: boolean
|
||||||
|
name?: string
|
||||||
privacy?: VideoPrivacyType
|
privacy?: VideoPrivacyType
|
||||||
videoPasswords?: string[]
|
videoPasswords?: string[]
|
||||||
}) {
|
}) {
|
||||||
|
|
|
@ -238,9 +238,6 @@ describe('Test user notifications', function () {
|
||||||
}
|
}
|
||||||
|
|
||||||
await servers[0].config.enableLive({ allowReplay: false })
|
await servers[0].config.enableLive({ allowReplay: false })
|
||||||
|
|
||||||
await servers[0].subscriptions.add({ token: userAccessToken, targetUri: 'root_channel@' + servers[0].host })
|
|
||||||
await waitJobs(servers)
|
|
||||||
})
|
})
|
||||||
|
|
||||||
it('Should not send a notification when a live is created', async function () {
|
it('Should not send a notification when a live is created', async function () {
|
||||||
|
|
Loading…
Reference in New Issue