From 560460dd84569d52ef6d07393876ac987865e410 Mon Sep 17 00:00:00 2001 From: mohammad Date: Fri, 13 Mar 2026 16:51:26 +0300 Subject: [PATCH] Fix OTP localization test expectation --- backend/apps/accounts/tests/test_otp_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/apps/accounts/tests/test_otp_api.py b/backend/apps/accounts/tests/test_otp_api.py index 14a8efd..2442354 100644 --- a/backend/apps/accounts/tests/test_otp_api.py +++ b/backend/apps/accounts/tests/test_otp_api.py @@ -50,4 +50,4 @@ def test_otp_request_invalid_phone_localized_ar(client): HTTP_ACCEPT_LANGUAGE="ar-sa", ) assert response.status_code == 400 - assert response.json()["phone_number"][0] == "تنسيق رقم الهاتف غير صالح" + assert response.json()["phone_number"][0] == "يجب أن يكون رقم الهاتف بصيغة E.164 أو رقم جوال سعودي صالح"