diff --git a/dbrepo-search-service/test/test_jwt.py b/dbrepo-search-service/test/test_jwt.py index 96ce8410da4be0598fd6d635e7decc9950bd42e8..1f23853a7cbd6b6d30cdf29a09daafac012b7916 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')