diff --git a/common/djangoapps/student/tests/tests.py b/common/djangoapps/student/tests/tests.py index b53df0bfd8..315b6e9285 100644 --- a/common/djangoapps/student/tests/tests.py +++ b/common/djangoapps/student/tests/tests.py @@ -243,7 +243,7 @@ class DashboardTest(TestCase): course_id=self.course.id, mode_slug='verified', mode_display_name='Verified', - expiration_date=datetime.now(pytz.UTC) + timedelta(days=1) + expiration_date=(datetime.now(pytz.UTC) + timedelta(days=1)).date() ) enrollment = CourseEnrollment.enroll(self.user, self.course.id) course_mode_info = complete_course_mode_info(self.course.id, enrollment) diff --git a/lms/templates/dashboard/dashboard_course_listing.html b/lms/templates/dashboard/dashboard_course_listing.html index c8a527391e..dd83347275 100644 --- a/lms/templates/dashboard/dashboard_course_listing.html +++ b/lms/templates/dashboard/dashboard_course_listing.html @@ -120,12 +120,6 @@ ${_("Upgrade to Verified Track")} - - %if course_mode_info['days_for_upsell']: - - ${_('{days} days left!').format(days=course_mode_info['days_for_upsell'])} - - %endif