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 أو رقم جوال سعودي صالح"