From 58c310589f2f51832256a5c94bafbc5cacb61c94 Mon Sep 17 00:00:00 2001 From: Hadar Rottenberg Date: Sun, 24 May 2020 17:11:03 +0300 Subject: [PATCH] fix: unit test --- src/server/storage/__tests__/storageAPI.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/storage/__tests__/storageAPI.js b/src/server/storage/__tests__/storageAPI.js index 65b704e6..91a81d65 100644 --- a/src/server/storage/__tests__/storageAPI.js +++ b/src/server/storage/__tests__/storageAPI.js @@ -101,7 +101,7 @@ describe('storageAPI', () => { const res = await request(server) .post('/admin/queue') - .send({ allow: 2, password: 'password' }) + .send({ allow: 2, password: process.env.GUNDB_PASS }) expect(res.body).toMatchObject({ ok: 1, newAllowed: 3,