0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

Updated acceptance test to include db export request check

This commit is contained in:
Nazar Gargol 2019-12-17 14:37:11 +07:00 committed by Daniel Lockyer
parent 4a79a0e753
commit d5c61c7eea

View file

@ -255,6 +255,12 @@ describe('User API', function () {
.then((res) => {
should.exist(res.body.meta.filename);
return request
.get(localUtils.API.getApiQuery(`db/?filename=${res.body.meta.filename}/`))
.set('Origin', config.get('url'))
.expect(200);
})
.then(() => {
return request
.get(localUtils.API.getApiQuery(`users/${userId}/`))
.set('Origin', config.get('url'))