mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
Updated utils for site endpoint response checks
refs 55dd16568b
- Fatfingered to add these files with a referenced commit
This commit is contained in:
parent
55dd16568b
commit
a87d17e570
3 changed files with 6 additions and 0 deletions
|
@ -19,6 +19,8 @@ const expectedProperties = {
|
|||
themes: ['themes'],
|
||||
members: ['members', 'meta'],
|
||||
|
||||
site: ['title', 'description', 'logo', 'icon', 'accent_color', 'url', 'version'],
|
||||
|
||||
post: _(schema.posts)
|
||||
.keys()
|
||||
.filter(key => key.indexOf('@@') === -1)
|
||||
|
|
|
@ -18,6 +18,8 @@ const expectedProperties = {
|
|||
invites: ['invites', 'meta'],
|
||||
themes: ['themes'],
|
||||
|
||||
site: ['title', 'url', 'version'],
|
||||
|
||||
post: _(schema.posts)
|
||||
.keys()
|
||||
.filter(key => key.indexOf('@@') === -1)
|
||||
|
|
|
@ -19,6 +19,8 @@ const expectedProperties = {
|
|||
themes: ['themes'],
|
||||
members: ['members', 'meta'],
|
||||
|
||||
site: ['title', 'description', 'logo', 'accent_color', 'url', 'version'],
|
||||
|
||||
post: _(schema.posts)
|
||||
.keys()
|
||||
.filter(key => key.indexOf('@@') === -1)
|
||||
|
|
Loading…
Reference in a new issue