diff --git a/src/register/RegistrationPage.jsx b/src/register/RegistrationPage.jsx index 19a37511..90cb1ad0 100644 --- a/src/register/RegistrationPage.jsx +++ b/src/register/RegistrationPage.jsx @@ -558,7 +558,7 @@ const RegistrationPage = (props) => {
{ values={{ platformName: getConfig().SITE_NAME, tosAndHonorCode: ( - + {formatMessage(messages['terms.of.service.and.honor.code'])} ), privacyPolicy: ( - + {formatMessage(messages['privacy.policy'])} ), diff --git a/src/register/tests/HonorCode.test.jsx b/src/register/tests/HonorCode.test.jsx index 063acc83..e0ee474b 100644 --- a/src/register/tests/HonorCode.test.jsx +++ b/src/register/tests/HonorCode.test.jsx @@ -55,9 +55,9 @@ describe('HonorCodeTest', () => { , ); - const expectedMsg = 'By creating an account, you agree to the Terms of Service and Honor Codein a new tab and you ' + const expectedMsg = 'By creating an account, you agree to the Terms of Service and Honor Code and you ' + 'acknowledge that Your Platform Name Here and each Member process your personal data in ' - + 'accordance with the Privacy Policyin a new tab.'; + + 'accordance with the Privacy Policy.'; const field = HonorCodeProps.find('#honor-code'); expect(field.text()).toEqual(expectedMsg); });