From a25595477622b36ef44e84267268caff207e71fe Mon Sep 17 00:00:00 2001
From: Martin Weise <martin.weise@tuwien.ac.at>
Date: Sun, 16 Feb 2025 10:07:37 +0100
Subject: [PATCH] Corrected mock address

Signed-off-by: Martin Weise <martin.weise@tuwien.ac.at>
---
 dbrepo-search-service/test/test_jwt.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dbrepo-search-service/test/test_jwt.py b/dbrepo-search-service/test/test_jwt.py
index 96ce8410da..1f23853a7c 100644
--- a/dbrepo-search-service/test/test_jwt.py
+++ b/dbrepo-search-service/test/test_jwt.py
@@ -84,7 +84,7 @@ class JwtTest(unittest.TestCase):
         with app.app_context():
             with requests_mock.Mocker() as mock:
                 # mock
-                mock.post('http://auth-service:8080/api/auth/realms/dbrepo/protocol/openid-connect/token',
+                mock.post('http://auth-service:8080/realms/dbrepo/protocol/openid-connect/token',
                           json=self.response([]))
                 # test
                 user = verify_password('username', 'password')
-- 
GitLab