Skip to content

Commit 0d3904a

Browse files
committed
Change test to include missing state
1 parent 2192d62 commit 0d3904a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_hybrid.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -721,7 +721,7 @@ def test_code_post_auth_failing_redirection_uri_with_querystring(self):
721721

722722
response = self.client.post(reverse("oauth2_provider:authorize"), data=form_data)
723723
self.assertEqual(response.status_code, 302)
724-
self.assertEqual("http://example.com?foo=bar&error=access_denied", response["Location"])
724+
self.assertEqual("http://example.com?foo=bar&error=access_denied&state=random_state_string", response["Location"])
725725

726726
def test_code_post_auth_fails_when_redirect_uri_path_is_invalid(self):
727727
"""

0 commit comments

Comments
 (0)