alessandrojean / tankobon

[WIP] Self-hosted physical book collection manager.
https://alessandrojean.github.io/tankobon/
MIT License
28 stars 3 forks source link

Add more unit tests to the server #41

Open alessandrojean opened 1 year ago

alessandrojean commented 1 year ago

Describe your suggested feature

The unit tests should cover all API endpoints to check for validation and formatting.

Other details

Currently, it only checks if the validation is working for duplicate names in some entities, but it doesn't even check if the response contains the expected errors.

Acknowledgements