savvato-software / tribe-app-backend

3 stars 20 forks source link

Backend - Refactor tests to use a single getUserRoleDTO() method. #204

Closed haxwell closed 4 days ago

haxwell commented 4 months ago

PermissionsAPITest, UserServiceImplTest, and UserAPITest, if not others, all have a private getUserRoleDTO() method. We should refactor this so that the app uses a single instance of this method.

mrsbluerose commented 2 months ago

The UserDTO method should be added to the UserTestConstants and called from there.

mrsbluerose commented 4 weeks ago

[ ] blocked by #218