mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-23 10:53:34 +03:00
Fixed regression test
no issue
- html to plaintext was broken with c219446f85
. Ghost's API supports html intpu format only for version above v8
This commit is contained in:
parent
dd619789cb
commit
b7224ef1b0
@ -173,6 +173,11 @@ describe('Posts API', function () {
|
||||
});
|
||||
|
||||
it('html to plaintext', function () {
|
||||
// NOTE: only supported in node v8 and higher
|
||||
if (process.version.startsWith('v6.')) {
|
||||
this.skip();
|
||||
}
|
||||
|
||||
return request
|
||||
.get(localUtils.API.getApiQuery(`posts/${testUtils.DataGenerator.Content.posts[0].id}/`))
|
||||
.set('Origin', config.get('url'))
|
||||
|
Loading…
Reference in New Issue
Block a user