Skip to content

Commit 7af1cc3

Browse files
committed
chore: tidy up mock data naming to better align with OAuth
1 parent 60ecf92 commit 7af1cc3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/pytest/oauth/test_hooks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def test_cancel_login_user_initiated(rf, mocked_oauth_analytics_module):
4545

4646

4747
def test_cancel_login_anomaly(rf, mocked_oauth_analytics_module):
48-
app_request = rf.get("/oauth/cancel", data={"another_error": "a_different_error"})
48+
app_request = rf.get("/oauth/cancel", data={"error": "error_code"})
4949
result = OAuthHooks.cancel_login(app_request)
5050

5151
assert result.status_code == 302

0 commit comments

Comments
 (0)