diff --git a/common/djangoapps/student/tests/test_models.py b/common/djangoapps/student/tests/test_models.py index fd90a2f37e4a..8a501f399cfd 100644 --- a/common/djangoapps/student/tests/test_models.py +++ b/common/djangoapps/student/tests/test_models.py @@ -794,7 +794,7 @@ def test_is_marketable_set_to_false_for_user_created_via_management_command(self 'username': 'some_user', 'name': 'Student Person', 'age': -1, - 'yearOfBirth': 2022, + 'yearOfBirth': datetime.datetime.today().year, 'education': None, 'address': None, 'gender': 'Male',