Skip to content

Commit

Permalink
Fix missing test req
Browse files Browse the repository at this point in the history
  • Loading branch information
myovchev committed Jul 27, 2023
1 parent 457ae0d commit 5136031
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
});
Expand Down

0 comments on commit 5136031

Please sign in to comment.