@@ -38,7 +38,7 @@ exports[`ThirdPartyAuthAlert should match register page third party auth alert m
Almost done!
- You've successfully signed into Google! We just need a little more information before you start learning with edX.
+ You've successfully signed into Google! We just need a little more information before you start learning with Your Platform Name Here.
diff --git a/src/login/tests/LoginPage.test.jsx b/src/login/tests/LoginPage.test.jsx
index 3b782efb..03d858b7 100644
--- a/src/login/tests/LoginPage.test.jsx
+++ b/src/login/tests/LoginPage.test.jsx
@@ -238,8 +238,9 @@ describe('LoginPage', () => {
},
});
- const expectedMessage = 'You have successfully signed into Apple, but your Apple account does not have a '
- + 'linked edX account. To link your accounts, sign in now using your edX password.';
+ const expectedMessage = `${'You have successfully signed into Apple, but your Apple account does not have a '
+ + 'linked '}${ getConfig().SITE_NAME } account. To link your accounts, sign in now using your ${
+ getConfig().SITE_NAME } password.`;
const loginPage = mount(reduxWrapper());
expect(loginPage.find('#tpa-alert').find('p').text()).toEqual(expectedMessage);
diff --git a/src/register/tests/RegistrationPage.test.jsx b/src/register/tests/RegistrationPage.test.jsx
index 97298e9b..88faeecc 100644
--- a/src/register/tests/RegistrationPage.test.jsx
+++ b/src/register/tests/RegistrationPage.test.jsx
@@ -271,14 +271,14 @@ describe('RegistrationPage', () => {
...initialState.register,
registrationError: {
username: [{ userMessage: 'It looks like this username is already taken' }],
- email: [{ userMessage: 'This email is already associated with an existing or previous edX account' }],
+ email: [{ userMessage: `This email is already associated with an existing or previous ${ getConfig().SITE_NAME } account` }],
},
},
});
const registrationPage = mount(reduxWrapper()).find('RegistrationPage');
expect(registrationPage.prop('validationDecisions')).toEqual({
country: '',
- email: 'This email is already associated with an existing or previous edX account',
+ email: `This email is already associated with an existing or previous ${ getConfig().SITE_NAME } account`,
name: '',
password: '',
username: 'It looks like this username is already taken',
@@ -355,8 +355,8 @@ describe('RegistrationPage', () => {
},
});
- const expectedMessage = 'You\'ve successfully signed into Apple! We just need a little more information before '
- + 'you start learning with edX.';
+ const expectedMessage = `${'You\'ve successfully signed into Apple! We just need a little more information before '
+ + 'you start learning with '}${ getConfig().SITE_NAME }.`;
const registerPage = mount(reduxWrapper());
expect(registerPage.find('#tpa-alert').find('p').text()).toEqual(expectedMessage);