0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00

Fixed regression tests

no issue

- Tests were broken with b9eaf27e56
This commit is contained in:
Nazar Gargol 2019-04-02 11:23:46 +08:00
parent 99983fa2e2
commit a2d8c07c96
2 changed files with 4 additions and 4 deletions

View file

@ -73,10 +73,10 @@ describe('Redirects API', function () {
res.headers['content-disposition'].should.eql('Attachment; filename="redirects.json"');
res.headers['content-type'].should.eql('application/json; charset=utf-8');
res.headers['content-length'].should.eql('648');
res.headers['content-length'].should.eql('698');
res.body.should.not.be.empty();
res.body.length.should.equal(11);
res.body.length.should.equal(12);
done();
});
});

View file

@ -60,10 +60,10 @@ describe('Redirects API', () => {
.then((res) => {
res.headers['content-disposition'].should.eql('Attachment; filename="redirects.json"');
res.headers['content-type'].should.eql('application/json; charset=utf-8');
res.headers['content-length'].should.eql('648');
res.headers['content-length'].should.eql('698');
res.body.should.not.be.empty();
res.body.length.should.equal(11);
res.body.length.should.equal(12);
});
});
});