fix: address CodeQL URL substring sanitization false positives in tests

Agent-Logs-Url: https://github.com/christianlouis/InboxConverge/sessions/8cb47b1c-b744-4212-8b6d-8132d6642d98

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-04-05 15:12:32 +00:00
committed by GitHub
parent 58f9ad72ed
commit 149ff3d997
2 changed files with 5 additions and 3 deletions
+3 -1
View File
@@ -314,7 +314,9 @@ class TestGoogleAuthorizeUrl:
assert response.status_code == 200
data = response.json()
assert "authorization_url" in data
assert "accounts.google.com" in data["authorization_url"]
assert data["authorization_url"].startswith(
"https://accounts.google.com/o/oauth2/v2/auth"
)
async def test_url_contains_redirect_uri(self, anon_client):
redirect = "http://myapp.example.com/callback"