VRMS
VRMS copied to clipboard
Unit testing for Project Team Members router
Fixes #1892
What changes did you make and why did you make them ?
- wrote unit tests for
projectTeamMembers.router - edited the logic in the GET API route
/project/:id/:userIdinprojectTeamMembers.router.jsthat incorrectly threw the HTTP code400when it should have been200, which affected the unit test for that route