Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

test_auth_backends: Remove deprecated match_querystring argument.

Anders Kaseorge5b24b172335
diff --git a/zerver/tests/test_auth_backends.py b/zerver/tests/test_auth_backends.py
index d1ed8a5337d..a13fe754424 100644
--- a/zerver/tests/test_auth_backends.py
+++ b/zerver/tests/test_auth_backends.py
@@ -1022,7 +1022,6 @@ class SocialAuthBase(DesktopFlowTestingLib, ZulipTestCase):
requests_mock.add(
requests_mock.POST,
self.ACCESS_TOKEN_URL,
- match_querystring=False,
status=200,
body=self.generate_access_token_url_payload(account_data_dict),
)
@@ -3293,7 +3292,6 @@ class GenericOpenIdConnectTest(SocialAuthBase):
requests_mock.add(
requests_mock.GET,
f"{self.BASE_OIDC_URL}/.well-known/openid-configuration",
- match_querystring=False,
status=200,
body=json.dumps(idp_discovery_endpoint_payload_dict),
)