Fix enrollment message

This commit is contained in:
Mushtaq Ali
2016-01-11 17:24:06 +05:00
parent e8925972d9
commit 8f76f3385a
8 changed files with 38 additions and 12 deletions

View File

@@ -113,7 +113,7 @@ class TestInstructorDashboard(ModuleStoreTestCase, LoginEnrollmentTestCase, XssT
with script tags.
"""
response = self.client.get(self.url)
self.assert_xss(response, '<script>alert("XSS")</script>')
self.assert_no_xss(response, '<script>alert("XSS")</script>')
@override_settings(PAID_COURSE_REGISTRATION_CURRENCY=['PKR', 'Rs'])
def test_override_currency_settings_in_the_html_response(self):