diff --git a/testing.py b/testing.py
index d4594d1..7be2290 100644
--- a/testing.py
+++ b/testing.py
@@ -83,13 +83,14 @@ def test_ProjectRoleChange():
     
 
 def test_get_user_projects():
+    username = "user2"
+    password = "123"
 
     dprint("Testing get user projects")
-    loginResponse = login("user2", "123")
+    loginResponse = login(username, password) 
     # Check if the user is added to the project
     response = requests.get(
-        getUserProjectsPath,
-        json={"username": "user2"},
+        getUserProjectsPath + "/" + username,
         headers={"Authorization": "Bearer " + loginResponse.json()["token"]},
     )
     dprint(response.text)