diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/initializers/checker-after-init.ts | 2 | ||||
-rw-r--r-- | server/tests/api/server/plugins.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/server/initializers/checker-after-init.ts b/server/initializers/checker-after-init.ts index 5fd1af82f..a93c8b7fd 100644 --- a/server/initializers/checker-after-init.ts +++ b/server/initializers/checker-after-init.ts | |||
@@ -132,7 +132,7 @@ function checkConfig () { | |||
132 | // Broadcast message | 132 | // Broadcast message |
133 | if (CONFIG.BROADCAST_MESSAGE.ENABLED) { | 133 | if (CONFIG.BROADCAST_MESSAGE.ENABLED) { |
134 | const currentLevel = CONFIG.BROADCAST_MESSAGE.LEVEL | 134 | const currentLevel = CONFIG.BROADCAST_MESSAGE.LEVEL |
135 | const available = [ 'info', 'warn', 'error' ] | 135 | const available = [ 'info', 'warning', 'error' ] |
136 | 136 | ||
137 | if (available.includes(currentLevel) === false) { | 137 | if (available.includes(currentLevel) === false) { |
138 | return 'Broadcast message level should be ' + available.join(' or ') + ' instead of ' + currentLevel | 138 | return 'Broadcast message level should be ' + available.join(' or ') + ' instead of ' + currentLevel |
diff --git a/server/tests/api/server/plugins.ts b/server/tests/api/server/plugins.ts index 1c6eabe6d..f4190c352 100644 --- a/server/tests/api/server/plugins.ts +++ b/server/tests/api/server/plugins.ts | |||
@@ -290,7 +290,7 @@ describe('Test plugins', function () { | |||
290 | }) | 290 | }) |
291 | 291 | ||
292 | it('Should update the plugin and the theme', async function () { | 292 | it('Should update the plugin and the theme', async function () { |
293 | this.timeout(30000) | 293 | this.timeout(90000) |
294 | 294 | ||
295 | // Wait the scheduler that get the latest plugins versions | 295 | // Wait the scheduler that get the latest plugins versions |
296 | await wait(6000) | 296 | await wait(6000) |