in UserAPITest.php update the tests to properly test the updates to the GET /users api endpoint
Test 1: testUserApiReturnsResponse()
Assert that when you hit GET /api/v1/users you get a 200 response.
Test 2: testUserApiReturnsUsers()
Assert that the response returns a valid set of users.
Test 3: testGetUserInContest()
Assert that when you pass northstar_id , campaign_id, and campaign_run_id parameters to the GET /users endpoint you get get correct user and the waiting room or competition they are in for that contests.
in
UserAPITest.php
update the tests to properly test the updates to theGET /users
api endpointTest 1: testUserApiReturnsResponse()
Assert that when you hit
GET /api/v1/users
you get a 200 response.Test 2: testUserApiReturnsUsers()
Assert that the response returns a valid set of users.
Test 3: testGetUserInContest()
Assert that when you pass
northstar_id
,campaign_id
, andcampaign_run_id
parameters to theGET /users
endpoint you get get correct user and the waiting room or competition they are in for that contests.