Fixing and updating unit and integration tests
- Unit tests and mock data have been updated by adding all the new fields we added while working recently on new features
- New unit tests cases have been added to cover new functionality
- Integration tests have been fixed and they are working right now
- New integration tests cases have been added to cover new functionality
- Validator has been updated to consider all new fields we have added to the request body when registering/updating instruments
- Some changes have been done at controller/service layer to fail properly when there is no data while getting a non-existent instrument. Some other fixes have been done to improve the error management
-
npm run lint:fix
have been executed to fix some related errors (anyway there are still a few pending) - Added a new Makefile goal (
make all-test
) to rebuild automatically the test environment and run all tests (unit + integration)