From b7faa8372ed598118305b760f7c1ddf537ca7f0d Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 4 Oct 2022 11:00:30 +0200 Subject: Decrease plugin version check for tests --- server/tests/api/notifications/admin-notifications.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'server/tests/api/notifications') diff --git a/server/tests/api/notifications/admin-notifications.ts b/server/tests/api/notifications/admin-notifications.ts index b3bb4888e..07c981a37 100644 --- a/server/tests/api/notifications/admin-notifications.ts +++ b/server/tests/api/notifications/admin-notifications.ts @@ -37,7 +37,7 @@ describe('Test admin notifications', function () { plugins: { index: { enabled: true, - check_latest_versions_interval: '5 seconds' + check_latest_versions_interval: '3 seconds' } } } @@ -62,7 +62,7 @@ describe('Test admin notifications', function () { describe('Latest PeerTube version notification', function () { - it('Should not send a notification to admins if there is not a new version', async function () { + it('Should not send a notification to admins if there is no new version', async function () { this.timeout(30000) joinPeerTubeServer.setLatestVersion('1.4.2') @@ -71,7 +71,7 @@ describe('Test admin notifications', function () { await checkNewPeerTubeVersion({ ...baseParams, latestVersion: '1.4.2', checkType: 'absence' }) }) - it('Should send a notification to admins on new plugin version', async function () { + it('Should send a notification to admins on new version', async function () { this.timeout(30000) joinPeerTubeServer.setLatestVersion('15.4.2') -- cgit v1.2.3