[FIX] Wrong test case for `users.setAvatar` endpoint (#12539)

pull/12547/head
Marcos Spessatto Defendi 7 years ago committed by Diego Sampaio
parent b0f8699c07
commit 3ef8db8e7f
  1. 2
      tests/end-to-end/api/01-users.js

@ -334,7 +334,7 @@ describe('[Users]', function() {
request.post(api('users.setAvatar'))
.set(userCredentials)
.attach('image', imgURL)
.field({ userId: targetUser._id })
.field({ userId: credentials['X-User-Id'] })
.expect('Content-Type', 'application/json')
.expect(400)
.expect((res) => {

Loading…
Cancel
Save