Closed Amr3zzat closed 4 years ago
I was working in this issue
I have fixed the first part of the issue in my PR
About the second part “User not found” I think it should return 204 in all cases if the user entered a valid email even it doesn’t exists for security considerations, true?
There are two scenarios: First: Enter empty email Expected: it returns 400 with validation error Actual: it returns 500
Second: Enter email not exists in users Expected: it returns 400 with validation error Actual: it returns 500