From b1cb4dec23a9579d83380a7e8c192b9ec4bdbf1a Mon Sep 17 00:00:00 2001 From: landrigun Date: Sat, 19 Nov 2022 14:16:44 +0000 Subject: [PATCH] fix(tests): error message + tests server url --- tests/python/test_requests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/python/test_requests.py b/tests/python/test_requests.py index ba45ce5..bc28b5a 100644 --- a/tests/python/test_requests.py +++ b/tests/python/test_requests.py @@ -5,7 +5,7 @@ import requests from datetime import datetime from unittest import TestCase -URL = os.getenv("SIMPLE_AUTH_URL", "http://127.0.0.1:9001") +URL = os.getenv("SIMPLE_AUTH_URL", "http://127.0.0.1:5555") PUB_KEY_PATH = os.getenv("SIMPLE_AUTH_PUB_KEY", "") @@ -56,7 +56,7 @@ class TestResponse(TestCase): self.assertEqual(resp.json()["valid"], "false", "bad status returned") self.assertEqual( resp.json()["reason"], - "token validation failed err=JWT compact encoding error", + "token validation failed details=JWT compact encoding error", ) def test_validate_target(self):