mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
Corrected functional users v2 test case
no issue - just noticed that this test was sending the incorrect body data
This commit is contained in:
parent
15a8951bc7
commit
6084330868
1 changed files with 2 additions and 2 deletions
|
@ -337,11 +337,11 @@ describe('User API V2', function () {
|
|||
modifiedUserData.users[0].created_by = ObjectId.generate();
|
||||
modifiedUserData.users[0].updated_by = ObjectId.generate();
|
||||
|
||||
delete jsonResponse.users[0].id;
|
||||
delete modifiedUserData.users[0].id;
|
||||
|
||||
request.put(localUtils.API.getApiQuery('users/me/'))
|
||||
.set('Origin', config.get('url'))
|
||||
.send(jsonResponse)
|
||||
.send(modifiedUserData)
|
||||
.expect(200)
|
||||
.end(function (err, res) {
|
||||
if (err) {
|
||||
|
|
Loading…
Add table
Reference in a new issue