1
0
Fork 0

Decrease plugin version check for tests

This commit is contained in:
Chocobozzz 2022-10-04 11:00:30 +02:00
parent 6c5f0d3aeb
commit b7faa8372e
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 3 additions and 3 deletions

View File

@ -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')