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'); });