Skip to content
This repository was archived by the owner on Aug 30, 2021. It is now read-only.

Commit 1cd909a

Browse files
committed
Merge pull request #1028 from mleanos/duplicate-test-profile-picture
Duplicate CRUD Test - Profile Picture
2 parents 860f7ce + a871c92 commit 1cd909a

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

modules/users/tests/server/user.server.routes.tests.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -876,16 +876,6 @@ describe('User CRUD tests', function () {
876876
});
877877
});
878878

879-
it('should not be able to change profile picture if not signed in', function (done) {
880-
agent.post('/api/users/picture')
881-
.attach('newProfilePicture', './modules/users/client/img/profile/default.png')
882-
.send(credentials)
883-
.expect(400)
884-
.end(function (userInfoErr, userInfoRes) {
885-
done(userInfoErr);
886-
});
887-
});
888-
889879
it('should not be able to change profile picture if attach a picture with a different field name', function (done) {
890880
agent.post('/api/auth/signin')
891881
.send(credentials)

0 commit comments

Comments
 (0)