From 042343413269fd7ffaa4f3751b06d6823db5ce40 Mon Sep 17 00:00:00 2001 From: Awais Qureshi Date: Thu, 31 Dec 2020 15:11:00 +0500 Subject: [PATCH] Fixing test failure. --- lms/djangoapps/commerce/api/v1/tests/test_views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/djangoapps/commerce/api/v1/tests/test_views.py b/lms/djangoapps/commerce/api/v1/tests/test_views.py index 1155dbf90c..78c1f3dc93 100644 --- a/lms/djangoapps/commerce/api/v1/tests/test_views.py +++ b/lms/djangoapps/commerce/api/v1/tests/test_views.py @@ -175,7 +175,7 @@ class CourseRetrieveUpdateViewTests(CourseApiViewTestMixin, ModuleStoreTestCase) self.assertIsNone(VerificationDeadline.deadline_for_course(self.course.id)) # Generate the expected data - verification_deadline = datetime(year=2020, month=12, day=31, tzinfo=pytz.utc) + verification_deadline = datetime(year=2030, month=12, day=31, tzinfo=pytz.utc) expiration_datetime = datetime.now(pytz.utc) response, expected = self._get_update_response_and_expected_data(expiration_datetime, verification_deadline)