From ced38c0ffe1e7d30f1f80fe704e571f39b0cc78b Mon Sep 17 00:00:00 2001 From: lutangar Date: Wed, 15 Dec 2021 09:35:17 +0100 Subject: fix plugin storage return value when storing a Json array --- server/tests/plugins/plugin-storage.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'server/tests/plugins') 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 () { }) describe('DB storage', function () { - it('Should correctly store a subkey', async function () { await server.servers.waitUntilLog('superkey stored value is toto') }) + + it('Should correctly retrieve an array as array from the storage.', async function () { + await server.servers.waitUntilLog('storedArrayKey value type is array') + await server.servers.waitUntilLog('storedArrayKey stored value is toto, toto2') + }) }) describe('Disk storage', function () { -- cgit v1.2.3