From 8663b5becc45f57de5570282b2095adaf282063b Mon Sep 17 00:00:00 2001 From: Christie Rice <8483753+crice100@users.noreply.github.com> Date: Thu, 28 May 2020 16:19:29 -0400 Subject: [PATCH] MICROBA-403 Add phone number (#24087) --- .../djangoapps/user_api/accounts/tests/test_retirement_views.py | 1 + openedx/core/djangoapps/user_api/accounts/views.py | 1 + 2 files changed, 2 insertions(+) diff --git a/openedx/core/djangoapps/user_api/accounts/tests/test_retirement_views.py b/openedx/core/djangoapps/user_api/accounts/tests/test_retirement_views.py index ac0155e368..b9e17df87c 100644 --- a/openedx/core/djangoapps/user_api/accounts/tests/test_retirement_views.py +++ b/openedx/core/djangoapps/user_api/accounts/tests/test_retirement_views.py @@ -1320,6 +1320,7 @@ class TestAccountRetirementPost(RetirementTestCase): 'city': None, 'country': None, 'bio': None, + 'phone_number': None, } self.assertEqual(expected_user_profile_pii, USER_PROFILE_PII) diff --git a/openedx/core/djangoapps/user_api/accounts/views.py b/openedx/core/djangoapps/user_api/accounts/views.py index c9e623a444..c319af66d6 100644 --- a/openedx/core/djangoapps/user_api/accounts/views.py +++ b/openedx/core/djangoapps/user_api/accounts/views.py @@ -94,6 +94,7 @@ USER_PROFILE_PII = { 'city': None, 'country': None, 'bio': None, + 'phone_number': None, }