From 513603192cdcb64bd188bb96a2ad45a57a3f0b58 Mon Sep 17 00:00:00 2001 From: Miro Yovchev <2827783+myovchev@users.noreply.github.com> Date: Thu, 27 Jul 2023 16:24:31 +0300 Subject: [PATCH] Fix missing test req --- test/settings.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/settings.js b/test/settings.js index 2146251e30..b17ef95dff 100644 --- a/test/settings.js +++ b/test/settings.js @@ -154,7 +154,9 @@ describe('user settings', function () { }); // Appropriate browser data is sent - const browserData = apos.settings.getBrowserData(); + const browserData = apos.settings.getBrowserData(apos.task.getReq({ + session: {} + })); assert.deepEqual(browserData.subforms, subforms); assert.equal(browserData.action, '/api/v1/@apostrophecms/settings'); });