Skip to content
Snippets Groups Projects
Verified Commit a2559547 authored by Martin Weise's avatar Martin Weise
Browse files

Corrected mock address

parent e6537af7
No related branches found
No related tags found
1 merge request!379Fixed the sync
......@@ -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')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment