aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/initializers/checker-after-init.ts2
-rw-r--r--server/tests/api/server/plugins.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/server/initializers/checker-after-init.ts b/server/initializers/checker-after-init.ts
index d75c0af04..911734fa0 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 3c09acc9a..6046ab97e 100644
--- a/server/tests/api/server/plugins.ts
+++ b/server/tests/api/server/plugins.ts
@@ -284,7 +284,7 @@ describe('Test plugins', function () {
284 }) 284 })
285 285
286 it('Should update the plugin and the theme', async function () { 286 it('Should update the plugin and the theme', async function () {
287 this.timeout(30000) 287 this.timeout(90000)
288 288
289 // Wait the scheduler that get the latest plugins versions 289 // Wait the scheduler that get the latest plugins versions
290 await wait(6000) 290 await wait(6000)