aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/plugins
diff options
context:
space:
mode:
authorlutangar <johan.dufour@gmail.com>2021-12-15 09:35:17 +0100
committerChocobozzz <chocobozzz@cpy.re>2021-12-16 10:17:39 +0100
commitced38c0ffe1e7d30f1f80fe704e571f39b0cc78b (patch)
treec6f435714e729c115154fc642ce0129917df198a /server/tests/plugins
parent85302118227bad232afdebb84a5c245f862366bd (diff)
downloadPeerTube-ced38c0ffe1e7d30f1f80fe704e571f39b0cc78b.tar.gz
PeerTube-ced38c0ffe1e7d30f1f80fe704e571f39b0cc78b.tar.zst
PeerTube-ced38c0ffe1e7d30f1f80fe704e571f39b0cc78b.zip
fix plugin storage return value when storing a Json array
Diffstat (limited to 'server/tests/plugins')
-rw-r--r--server/tests/plugins/plugin-storage.ts6
1 files changed, 5 insertions, 1 deletions
diff --git a/server/tests/plugins/plugin-storage.ts b/server/tests/plugins/plugin-storage.ts
index e20c36dba..ac519045d 100644
--- a/server/tests/plugins/plugin-storage.ts
+++ b/server/tests/plugins/plugin-storage.ts
@@ -27,10 +27,14 @@ describe('Test plugin storage', function () {
27 }) 27 })
28 28
29 describe('DB storage', function () { 29 describe('DB storage', function () {
30
31 it('Should correctly store a subkey', async function () { 30 it('Should correctly store a subkey', async function () {
32 await server.servers.waitUntilLog('superkey stored value is toto') 31 await server.servers.waitUntilLog('superkey stored value is toto')
33 }) 32 })
33
34 it('Should correctly retrieve an array as array from the storage.', async function () {
35 await server.servers.waitUntilLog('storedArrayKey value type is array')
36 await server.servers.waitUntilLog('storedArrayKey stored value is toto, toto2')
37 })
34 }) 38 })
35 39
36 describe('Disk storage', function () { 40 describe('Disk storage', function () {