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:
parent
4a79a0e753
commit
d5c61c7eea
1 changed files with 6 additions and 0 deletions
|
@ -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'))
|
||||
|
|
Loading…
Add table
Reference in a new issue