Skip to content

Commit

Permalink
Update the test again
Browse files Browse the repository at this point in the history
  • Loading branch information
henrybatt committed May 30, 2024
1 parent 2a127b5 commit 96dfeb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/app/tests/test_shareride.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def test_3_get_approved_trip_requests(self):
self.assertEqual(response.status_code, 200, "Expected status code to be 200 OK")
self.assertEqual(response.json["accepted_trips"][0], Test3.trip_request_id)

response = self.client.post('/trip_requests/get', json={"trip_request_id": Test3.trip_request_id})
response = self.client.post('/trip_requests/get', json={"trip_request_id": Test3.trip_request_id, "username": "lSmith88", "password": "53%30"})
self.assertEqual(response.status_code, 200, "Expected status code to be 200 OK")
self.assertEqual(response.json["status"], "MATCHED")
self.assertEqual(response.json["trip_id"], Test3.trip_id)
Expand Down

0 comments on commit 96dfeb3

Please sign in to comment.