ita-social-projects / Home

Home - is an all-in-one social service that will cover all aspects of your communication with your home and neighbors.
http://www.home-project-engineering.tech/api/0/apidocs/index.html
MIT License
26 stars 30 forks source link

[Issue #449]: Password Validation #455

Closed kvaithin closed 2 years ago

kvaithin commented 2 years ago

Closes #449

Added logic for password validation and related tests. Note that for UserServiceImplTest tests, I've opted to go with a Nullpointer exception to prove that the password validation works and fails at a later stage. The tests and mocking were getting bit out of scope for this work.

The custom exception maybe bit overkill here but felt kept it clean. Advice if ok. Thanks.