0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00

Fixed cache test suite

refs 41c93f982d

- The public settings hash was "turned around" so that the object keys are now identified by "keys" on "values"
This commit is contained in:
Naz 2021-03-04 18:35:02 +13:00
parent 41c93f982d
commit 07254edfe3

View file

@ -53,7 +53,7 @@ describe('UNIT: settings cache', function () {
timezone: {value: 'PST'}
});
let values = _.zipObject(_.values(publicSettings), _.fill(Array(_.size(publicSettings)), null));
let values = _.zipObject(_.keys(publicSettings), _.fill(Array(_.size(publicSettings)), null));
values.title = 'hello world';
values.timezone = 'PST';