From 3be4b1a44109d3e269ca8abe367b14bcd272a67f Mon Sep 17 00:00:00 2001 From: Konstantinos Karmas Date: Mon, 9 Aug 2021 12:42:11 +0200 Subject: [PATCH] Fix failing test CURA-8441 --- tests/TestOAuth2.py | 4 ++-- 1 file 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