From 17a3f556fb5257b3f5d815d33147f15cf2fcb0fa Mon Sep 17 00:00:00 2001 From: Renzo Lucioni Date: Mon, 3 Nov 2014 18:28:19 -0500 Subject: [PATCH] Fix track selection header copy --- .../verify_student/tests/test_views.py | 4 +- .../verify_student/_verification_header.html | 48 +++++++++++++++---- 2 files changed, 40 insertions(+), 12 deletions(-) diff --git a/lms/djangoapps/verify_student/tests/test_views.py b/lms/djangoapps/verify_student/tests/test_views.py index 1d45efe154..24180fc710 100644 --- a/lms/djangoapps/verify_student/tests/test_views.py +++ b/lms/djangoapps/verify_student/tests/test_views.py @@ -186,12 +186,12 @@ class TestVerifyView(ModuleStoreTestCase): response = self.client.get(url) self.assertEquals(response.status_code, 302) - def test_valid_course_registration_text(self): + def test_valid_course_enrollment_text(self): url = reverse('verify_student_verify', kwargs={"course_id": unicode(self.course_key)}) response = self.client.get(url) - self.assertIn("You are now enrolled in the audit track", response.content) + self.assertIn("You are now enrolled in", response.content) def test_valid_course_upgrade_text(self): url = reverse('verify_student_verify', diff --git a/lms/templates/verify_student/_verification_header.html b/lms/templates/verify_student/_verification_header.html index 8a1cdadac2..40dfa7dd1d 100644 --- a/lms/templates/verify_student/_verification_header.html +++ b/lms/templates/verify_student/_verification_header.html @@ -3,18 +3,37 @@