Merge pull request #15030 from edx/mattdrayer/ENT-318
ENT-318: Update activation email subject and message text
This commit is contained in:
@@ -53,6 +53,7 @@ class InterceptErrorsTest(TestCase):
|
||||
|
||||
@mock.patch('openedx.core.djangoapps.user_api.helpers.LOGGER')
|
||||
def test_logs_errors(self, mock_logger):
|
||||
self.maxDiff = None
|
||||
exception = 'openedx.core.djangoapps.user_api.tests.test_helpers.FakeInputException'
|
||||
expected_log_msg = (
|
||||
u"An unexpected error occurred when calling 'intercepted_function' with arguments '()' and "
|
||||
|
||||
@@ -1625,10 +1625,10 @@ class RegistrationViewTest(ThirdPartyAuthTestMixin, UserAPITestCase):
|
||||
self.assertEqual(sent_email.to, [self.EMAIL])
|
||||
self.assertEqual(
|
||||
sent_email.subject,
|
||||
u"Activate Your {platform} Account".format(platform=settings.PLATFORM_NAME)
|
||||
u"Action Required: Activate your {platform} account".format(platform=settings.PLATFORM_NAME)
|
||||
)
|
||||
self.assertIn(
|
||||
u"you need to activate your {platform} account".format(platform=settings.PLATFORM_NAME),
|
||||
u"high-quality {platform} courses".format(platform=settings.PLATFORM_NAME),
|
||||
sent_email.body
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user