aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--server/tests/fixtures/peertube-plugin-test-six/main.js2
-rw-r--r--server/tests/plugins/plugin-storage.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/fixtures/peertube-plugin-test-six/main.js b/server/tests/fixtures/peertube-plugin-test-six/main.js
index 4a9d56ea7..243b041e7 100644
--- a/server/tests/fixtures/peertube-plugin-test-six/main.js
+++ b/server/tests/fixtures/peertube-plugin-test-six/main.js
@@ -17,7 +17,7 @@ async function register ({
17 logger.info('superkey stored value is %s', result.value) 17 logger.info('superkey stored value is %s', result.value)
18 18
19 const storedArrayValue = await storageManager.getData('storedArrayKey') 19 const storedArrayValue = await storageManager.getData('storedArrayKey')
20 logger.info('storedArrayKey value type is %s', typeof storedArrayValue) 20 logger.info('storedArrayKey isArray is %s', Array.isArray(storedArrayValue) ? 'true' : 'false')
21 logger.info('storedArrayKey stored value is %s', storedArrayValue.join(', ')) 21 logger.info('storedArrayKey stored value is %s', storedArrayValue.join(', '))
22 } 22 }
23 23
diff --git a/server/tests/plugins/plugin-storage.ts b/server/tests/plugins/plugin-storage.ts
index ac519045d..c0596819e 100644
--- a/server/tests/plugins/plugin-storage.ts
+++ b/server/tests/plugins/plugin-storage.ts
@@ -32,7 +32,7 @@ describe('Test plugin storage', function () {
32 }) 32 })
33 33
34 it('Should correctly retrieve an array as array from the storage.', async function () { 34 it('Should correctly retrieve an array as array from the storage.', async function () {
35 await server.servers.waitUntilLog('storedArrayKey value type is array') 35 await server.servers.waitUntilLog('storedArrayKey isArray is true')
36 await server.servers.waitUntilLog('storedArrayKey stored value is toto, toto2') 36 await server.servers.waitUntilLog('storedArrayKey stored value is toto, toto2')
37 }) 37 })
38 }) 38 })