Merge pull request #8162 from overleaf/ae-orcid-capital

Fix ORCID capitalisation

GitOrigin-RevId: 56136473482568e303570c9679a13e5d032d6d34
This commit is contained in:
Timothée Alby 2022-05-26 14:58:21 +02:00 committed by Copybot
parent c66278cf89
commit 00fa5b2d96
4 changed files with 6 additions and 6 deletions

View file

@ -47,7 +47,7 @@ export function setDefaultMeta() {
link: '/blog/434',
appName: 'Overleaf',
},
name: 'Orcid',
name: 'ORCID',
linkPath: '/auth/orcid',
},
twitter: {

View file

@ -28,7 +28,7 @@ const mockOauthProviders = {
link: '/blog/434',
appName: 'Overleaf',
},
name: 'Orcid',
name: 'ORCID',
linkPath: '/auth/orcid',
},
twitter: {
@ -77,7 +77,7 @@ describe('<LinkingSection />', function () {
screen.getByText('Log in with Google.')
screen.getByRole('button', { name: 'Unlink' })
screen.getByText('Orcid')
screen.getByText('ORCID')
screen.getByText(
/Securely establish your identity by linking your ORCID iD/
)

View file

@ -19,7 +19,7 @@ const mockOauthProviders = {
link: '/blog/434',
appName: 'Overleaf',
},
name: 'Orcid',
name: 'ORCID',
linkPath: '/auth/orcid',
},
twitter: {

View file

@ -36,7 +36,7 @@ describe('ThirdPartyIdentityManager', function () {
name: 'Google',
},
orcid: {
name: 'Orcid',
name: 'ORCID',
},
},
},
@ -174,7 +174,7 @@ describe('ThirdPartyIdentityManager', function () {
const emailCall = this.EmailHandler.sendEmail.getCall(0)
expect(emailCall.args[0]).to.equal('securityAlert')
expect(emailCall.args[1].actionDescribed).to.contain(
'an Orcid account was unlinked from'
'an ORCID account was unlinked from'
)
})
it('should update user audit log', async function () {