mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-23 22:29:41 +08:00
Fix failing test
CURA-8441
This commit is contained in:
parent
5bf24ed678
commit
3be4b1a441
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user