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:
parent
41c93f982d
commit
07254edfe3
1 changed files with 1 additions and 1 deletions
|
@ -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';
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue