From d57448798bf8dfbf9634b96a72d5fbaf326edabb Mon Sep 17 00:00:00 2001 From: Eno Bassey Date: Sun, 31 Jan 2021 20:02:08 +0100 Subject: [PATCH] fix tests --- tests/integration/endpoints/test_user_endpoints.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/endpoints/test_user_endpoints.py b/tests/integration/endpoints/test_user_endpoints.py index 5086b22..7be2811 100755 --- a/tests/integration/endpoints/test_user_endpoints.py +++ b/tests/integration/endpoints/test_user_endpoints.py @@ -185,7 +185,7 @@ def test_create_user_endpoint_succeeds2(self): user = UserFactory() user.save() response = self.client().get( - self.make_url(f"/users/{user.id}/"), headers=headers + self.make_url(f"/users/user_profile/{user.id}"), headers=headers ) response_json = self.decode_from_json_string(response.data.decode("utf-8"))