mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #8162 from overleaf/ae-orcid-capital
Fix ORCID capitalisation GitOrigin-RevId: 56136473482568e303570c9679a13e5d032d6d34
This commit is contained in:
parent
c66278cf89
commit
00fa5b2d96
4 changed files with 6 additions and 6 deletions
|
@ -47,7 +47,7 @@ export function setDefaultMeta() {
|
||||||
link: '/blog/434',
|
link: '/blog/434',
|
||||||
appName: 'Overleaf',
|
appName: 'Overleaf',
|
||||||
},
|
},
|
||||||
name: 'Orcid',
|
name: 'ORCID',
|
||||||
linkPath: '/auth/orcid',
|
linkPath: '/auth/orcid',
|
||||||
},
|
},
|
||||||
twitter: {
|
twitter: {
|
||||||
|
|
|
@ -28,7 +28,7 @@ const mockOauthProviders = {
|
||||||
link: '/blog/434',
|
link: '/blog/434',
|
||||||
appName: 'Overleaf',
|
appName: 'Overleaf',
|
||||||
},
|
},
|
||||||
name: 'Orcid',
|
name: 'ORCID',
|
||||||
linkPath: '/auth/orcid',
|
linkPath: '/auth/orcid',
|
||||||
},
|
},
|
||||||
twitter: {
|
twitter: {
|
||||||
|
@ -77,7 +77,7 @@ describe('<LinkingSection />', function () {
|
||||||
screen.getByText('Log in with Google.')
|
screen.getByText('Log in with Google.')
|
||||||
screen.getByRole('button', { name: 'Unlink' })
|
screen.getByRole('button', { name: 'Unlink' })
|
||||||
|
|
||||||
screen.getByText('Orcid')
|
screen.getByText('ORCID')
|
||||||
screen.getByText(
|
screen.getByText(
|
||||||
/Securely establish your identity by linking your ORCID iD/
|
/Securely establish your identity by linking your ORCID iD/
|
||||||
)
|
)
|
||||||
|
|
|
@ -19,7 +19,7 @@ const mockOauthProviders = {
|
||||||
link: '/blog/434',
|
link: '/blog/434',
|
||||||
appName: 'Overleaf',
|
appName: 'Overleaf',
|
||||||
},
|
},
|
||||||
name: 'Orcid',
|
name: 'ORCID',
|
||||||
linkPath: '/auth/orcid',
|
linkPath: '/auth/orcid',
|
||||||
},
|
},
|
||||||
twitter: {
|
twitter: {
|
||||||
|
|
|
@ -36,7 +36,7 @@ describe('ThirdPartyIdentityManager', function () {
|
||||||
name: 'Google',
|
name: 'Google',
|
||||||
},
|
},
|
||||||
orcid: {
|
orcid: {
|
||||||
name: 'Orcid',
|
name: 'ORCID',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -174,7 +174,7 @@ describe('ThirdPartyIdentityManager', function () {
|
||||||
const emailCall = this.EmailHandler.sendEmail.getCall(0)
|
const emailCall = this.EmailHandler.sendEmail.getCall(0)
|
||||||
expect(emailCall.args[0]).to.equal('securityAlert')
|
expect(emailCall.args[0]).to.equal('securityAlert')
|
||||||
expect(emailCall.args[1].actionDescribed).to.contain(
|
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 () {
|
it('should update user audit log', async function () {
|
||||||
|
|
Loading…
Reference in a new issue