'Verify that enrollment can be updated to verified mode.'

@ddt.data('username', 'email')
def test_update_enrollments_with_expired_mode(self, search_string_type):

    self.set_course_end_date_and_expiry()
    self.assertIsNone(ManualEnrollmentAudit.get_manual_enrollment_by_email(self.student.email))
    self.assert_update_enrollment(search_string_type, CourseMode.VERIFIED)
