mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-23 22:11:09 +03:00
Fixed settings tests due to Bookshelf update
- Bookshelf now seems to error out when the response is undefined and expects something - this commit updates the test to the same empty response we use elsewhere
This commit is contained in:
parent
8fcb57bd6a
commit
7a3725fdbf
@ -171,7 +171,7 @@ describe('Unit: models/settings', function () {
|
||||
tracker.install();
|
||||
|
||||
tracker.on('query', (query) => {
|
||||
query.response();
|
||||
query.response([{}]);
|
||||
});
|
||||
|
||||
const setting = models.Settings.forge({key, value, type, group});
|
||||
|
Loading…
Reference in New Issue
Block a user