JuhoBjn / online-store

An online store made for a course project.
0 stars 1 forks source link

Fix get all users controller #92

Closed JuhoBjn closed 10 months ago

JuhoBjn commented 10 months ago

Fix the backend endpoint for getting all users. Updated the test case for it to check the formatting and user object fields of the returned array.

Closes #87

coveralls commented 10 months ago

Pull Request Test Coverage Report for Build 6870064071


Files with Coverage Reduction New Missed Lines %
backend/coverage/backend/models/users.js 6 93.04%
backend/coverage/backend/controllers/users.js 24 90.24%
<!-- Total: 30 -->
Totals Coverage Status
Change from base Build 6862898494: -0.04%
Covered Lines: 547
Relevant Lines: 601

💛 - Coveralls