diff --git a/services/web/frontend/stories/settings/helpers/linking.js b/services/web/frontend/stories/settings/helpers/linking.js index 9400dbea1c..295d037e5b 100644 --- a/services/web/frontend/stories/settings/helpers/linking.js +++ b/services/web/frontend/stories/settings/helpers/linking.js @@ -47,7 +47,7 @@ export function setDefaultMeta() { link: '/blog/434', appName: 'Overleaf', }, - name: 'Orcid', + name: 'ORCID', linkPath: '/auth/orcid', }, twitter: { diff --git a/services/web/test/frontend/features/settings/components/linking-section.test.tsx b/services/web/test/frontend/features/settings/components/linking-section.test.tsx index 3a5021b8fb..ca01a64188 100644 --- a/services/web/test/frontend/features/settings/components/linking-section.test.tsx +++ b/services/web/test/frontend/features/settings/components/linking-section.test.tsx @@ -28,7 +28,7 @@ const mockOauthProviders = { link: '/blog/434', appName: 'Overleaf', }, - name: 'Orcid', + name: 'ORCID', linkPath: '/auth/orcid', }, twitter: { @@ -77,7 +77,7 @@ describe('', 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/ ) diff --git a/services/web/test/frontend/features/settings/context/sso-context.test.tsx b/services/web/test/frontend/features/settings/context/sso-context.test.tsx index b9b43e3dcf..f03d3dc547 100644 --- a/services/web/test/frontend/features/settings/context/sso-context.test.tsx +++ b/services/web/test/frontend/features/settings/context/sso-context.test.tsx @@ -19,7 +19,7 @@ const mockOauthProviders = { link: '/blog/434', appName: 'Overleaf', }, - name: 'Orcid', + name: 'ORCID', linkPath: '/auth/orcid', }, twitter: { diff --git a/services/web/test/unit/src/User/ThirdPartyIdentityManagerTests.js b/services/web/test/unit/src/User/ThirdPartyIdentityManagerTests.js index ce591a5cb0..faac674b14 100644 --- a/services/web/test/unit/src/User/ThirdPartyIdentityManagerTests.js +++ b/services/web/test/unit/src/User/ThirdPartyIdentityManagerTests.js @@ -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 () {