diff options
author | Konstantinos Karmas <konskarm@gmail.com> | 2021-08-09 13:42:11 +0300 |
---|---|---|
committer | Konstantinos Karmas <konskarm@gmail.com> | 2021-08-09 13:42:11 +0300 |
commit | 3be4b1a44109d3e269ca8abe367b14bcd272a67f (patch) | |
tree | bd57564122eafee328b33418b439c195d098f9a6 /tests | |
parent | 5bf24ed678d623f99bbdaefc4c62edac02500a1e (diff) |
Fix failing test
CURA-8441
Diffstat (limited to 'tests')
-rw-r--r-- | tests/TestOAuth2.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/TestOAuth2.py b/tests/TestOAuth2.py index 731a31690a..2c039b296a 100644 --- a/tests/TestOAuth2.py +++ b/tests/TestOAuth2.py @@ -238,7 +238,7 @@ def test__generate_auth_url() -> None: "response_type": "code" } auth_url = authorization_service._generate_auth_url(query_parameters_dict, force_browser_logout = False) - assert MYCLOUD_LOGOFF_URL + "?next=" not in auth_url + assert MYCLOUD_LOGOFF_URL + "&next=" not in auth_url auth_url = authorization_service._generate_auth_url(query_parameters_dict, force_browser_logout = True) - assert MYCLOUD_LOGOFF_URL + "?next=" in auth_url + assert MYCLOUD_LOGOFF_URL + "&next=" in auth_url |