diff --git a/modules/users/tests/server/user.server.routes.tests.js b/modules/users/tests/server/user.server.routes.tests.js index f7a6c500e1..d53625b10c 100644 --- a/modules/users/tests/server/user.server.routes.tests.js +++ b/modules/users/tests/server/user.server.routes.tests.js @@ -876,16 +876,6 @@ describe('User CRUD tests', function () { }); }); - it('should not be able to change profile picture if not signed in', function (done) { - agent.post('/api/users/picture') - .attach('newProfilePicture', './modules/users/client/img/profile/default.png') - .send(credentials) - .expect(400) - .end(function (userInfoErr, userInfoRes) { - done(userInfoErr); - }); - }); - it('should not be able to change profile picture if attach a picture with a different field name', function (done) { agent.post('/api/auth/signin') .send(credentials)