From 5f09fde24e2fe71dd357ef78322acfbb6fa5ed43 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 15 Feb 2024 14:14:50 +0100 Subject: [PATCH] Fix tests --- packages/server-commands/src/videos/live-command.ts | 2 +- packages/tests/src/api/notifications/user-notifications.ts | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/server-commands/src/videos/live-command.ts b/packages/server-commands/src/videos/live-command.ts index 84fb90164..965ff2e9e 100644 --- a/packages/server-commands/src/videos/live-command.ts +++ b/packages/server-commands/src/videos/live-command.ts @@ -119,9 +119,9 @@ export class LiveCommand extends AbstractCommand { } async quickCreate (options: OverrideCommandOptions & { - name: string saveReplay: boolean permanentLive: boolean + name?: string privacy?: VideoPrivacyType videoPasswords?: string[] }) { diff --git a/packages/tests/src/api/notifications/user-notifications.ts b/packages/tests/src/api/notifications/user-notifications.ts index 275110014..20532e6ee 100644 --- a/packages/tests/src/api/notifications/user-notifications.ts +++ b/packages/tests/src/api/notifications/user-notifications.ts @@ -238,9 +238,6 @@ describe('Test user notifications', function () { } 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 () {