From 526ae1608f0112af2ae33057c6c6a89881c2902e Mon Sep 17 00:00:00 2001 From: sokumon Date: Sun, 9 Nov 2025 16:32:05 +0530 Subject: [PATCH] fix: server test --- frappe/tests/test_api.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frappe/tests/test_api.py b/frappe/tests/test_api.py index b959cf0f7a..eeae179a34 100644 --- a/frappe/tests/test_api.py +++ b/frappe/tests/test_api.py @@ -504,9 +504,9 @@ class TestResponse(FrappeAPITestCase): expected_redirects = { "/app/user": "http://localhost/app/user", "/app/user?enabled=1": "http://localhost/app/user?enabled=1", - "http://example.com": "http://localhost/app", # No external redirect - "https://google.com": "http://localhost/app", - "http://localhost:8000": "http://localhost/app", + "http://example.com": "http://localhost/desk", # No external redirect + "https://google.com": "http://localhost/desk", + "http://localhost:8000": "http://localhost/desk", "http://localhost/app": "http://localhost/app", "////example.com": "http://localhost//example.com", # malicious redirect attempt }