diff --git a/test/e2e/partials/pkg-protected.js b/test/e2e/partials/pkg-protected.js index 48e482fb2..271f5e014 100644 --- a/test/e2e/partials/pkg-protected.js +++ b/test/e2e/partials/pkg-protected.js @@ -18,8 +18,8 @@ const json = { ], "author": { - "name": "Juan Picado", - "email": "juan@jotadeveloper.com" + "name": "User NPM", + "email": "user@domain.com" }, "license": "ISC", "dependencies": { diff --git a/test/e2e/partials/pkg-scoped.js b/test/e2e/partials/pkg-scoped.js index 92e67f2ce..13da4e7bf 100644 --- a/test/e2e/partials/pkg-scoped.js +++ b/test/e2e/partials/pkg-scoped.js @@ -18,8 +18,8 @@ const json = { ], "author": { - "name": "Juan Picado", - "email": "juan@jotadeveloper.com" + "name": "User NPM", + "email": "user@domain.com" }, "license": "ISC", "dependencies": { diff --git a/test/functional/fixtures/publish.json5 b/test/functional/fixtures/publish.json5 index 929b24de1..2323a2956 100644 --- a/test/functional/fixtures/publish.json5 +++ b/test/functional/fixtures/publish.json5 @@ -18,10 +18,10 @@ tarball: 'http://localhost:4873/__NAME__/-/__NAME__-__VERSION__.tgz' }, _from: '.', _npmVersion: '1.3.21', - _npmUser: { name: 'rlidwka', email: 'alex@kocharin.ru' }, - maintainers: [ { name: 'rlidwka', email: 'alex@kocharin.ru' } ] } }, + _npmUser: { name: 'rlidwka', email: 'user@domain.com' }, + maintainers: [ { name: 'rlidwka', email: 'user@domain.com' } ] } }, readme: 'ERROR: No README data found!', - maintainers: [ { name: 'rlidwka', email: 'alex@kocharin.ru' } ], + maintainers: [ { name: 'rlidwka', email: 'user@domain.com' } ], _attachments: { '__NAME__-__VERSION__.tgz': { content_type: 'application/octet-stream', diff --git a/test/functional/readme/pkg-no-readme.json b/test/functional/readme/pkg-no-readme.json index f83b4f8d7..cd595ffbd 100644 --- a/test/functional/readme/pkg-no-readme.json +++ b/test/functional/readme/pkg-no-readme.json @@ -30,12 +30,12 @@ "_npmVersion": "1.3.1", "_npmUser": { "name": "alex", - "email": "alex@kocharin.ru" + "email": "user@domain.com" }, "maintainers": [ { "name": "juan", - "email": "juanpicado19@gmail.com" + "email": "user@domain.com" } ] } @@ -43,7 +43,7 @@ "maintainers": [ { "name": "juan", - "email": "juanpicado19@gmail.com" + "email": "user@domain.com" } ], "_attachments": { diff --git a/test/functional/readme/pkg-readme.json b/test/functional/readme/pkg-readme.json index e98a42c9e..7641495e0 100644 --- a/test/functional/readme/pkg-readme.json +++ b/test/functional/readme/pkg-readme.json @@ -30,12 +30,12 @@ "_npmVersion": "1.3.1", "_npmUser": { "name": "alex", - "email": "alex@kocharin.ru" + "email": "user@domain.com" }, "maintainers": [ { "name": "juan", - "email": "juanpicado19@gmail.com" + "email": "user@domain.com" } ] } @@ -44,7 +44,7 @@ "maintainers": [ { "name": "juan", - "email": "juanpicado19@gmail.com" + "email": "user@domain.com" } ], "_attachments": { diff --git a/test/functional/tags/preserve_tags.js b/test/functional/tags/preserve_tags.js index 764fee9ff..b1b8a2b3d 100644 --- a/test/functional/tags/preserve_tags.js +++ b/test/functional/tags/preserve_tags.js @@ -74,7 +74,7 @@ export default function(server, server2, express) { }, 'maintainers': [{ name: 'alex', - email: 'alex@kocharin.ru' + email: 'user@domain.com' }], 'readmeFilename': '', 'time': { diff --git a/test/functional/tags/preserve_tags.json b/test/functional/tags/preserve_tags.json index e7700d514..88f403f8c 100644 --- a/test/functional/tags/preserve_tags.json +++ b/test/functional/tags/preserve_tags.json @@ -30,12 +30,12 @@ "_npmVersion": "1.3.1", "_npmUser": { "name": "alex", - "email": "alex@kocharin.ru" + "email": "user@domain.com" }, "maintainers": [ { "name": "alex", - "email": "alex@kocharin.ru" + "email": "user@domain.com" } ] } @@ -44,7 +44,7 @@ "maintainers": [ { "name": "alex", - "email": "alex@kocharin.ru" + "email": "user@domain.com" } ], "_attachments": { diff --git a/test/unit/partials/forbidden-place.js b/test/unit/partials/forbidden-place.js index da6f078b0..a26014136 100644 --- a/test/unit/partials/forbidden-place.js +++ b/test/unit/partials/forbidden-place.js @@ -18,8 +18,8 @@ const json = { ], "author": { - "name": "Juan Picado", - "email": "juan@jotadeveloper.com" + "name": "User NPM", + "email": "user@domain.com" }, "license": "ISC", "dependencies": { diff --git a/test/unit/partials/publish-api.js b/test/unit/partials/publish-api.js index 92e67f2ce..13da4e7bf 100644 --- a/test/unit/partials/publish-api.js +++ b/test/unit/partials/publish-api.js @@ -18,8 +18,8 @@ const json = { ], "author": { - "name": "Juan Picado", - "email": "juan@jotadeveloper.com" + "name": "User NPM", + "email": "user@domain.com" }, "license": "ISC", "dependencies": { diff --git a/test/unit/webui/components/PackageSidebar/__snapshots__/maintainers.spec.js.snap b/test/unit/webui/components/PackageSidebar/__snapshots__/maintainers.spec.js.snap index ec659abad..aa8afb43e 100644 --- a/test/unit/webui/components/PackageSidebar/__snapshots__/maintainers.spec.js.snap +++ b/test/unit/webui/components/PackageSidebar/__snapshots__/maintainers.spec.js.snap @@ -1,3 +1,3 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[` : should match with the props 1`] = `"

Maintainers

    \\"AuthorAlex Kocharin
    \\"Contributors030
    \\"ContributorsAlex Vernacchia
    \\"ContributorsAlexander Makarenko
    \\"ContributorsAlexandre-io
    \\"ContributorsAram Drevekenin
"`; +exports[` : should match with the props 1`] = `"

Maintainers

    \\"AuthorUser NPM
    \\"Contributors030
    \\"ContributorsAlex Vernacchia
    \\"ContributorsAlexander Makarenko
    \\"ContributorsAlexandre-io
    \\"ContributorsAram Drevekenin
"`; diff --git a/test/unit/webui/components/PackageSidebar/maintainers.spec.js b/test/unit/webui/components/PackageSidebar/maintainers.spec.js index ec64b1b52..a52f4f19b 100644 --- a/test/unit/webui/components/PackageSidebar/maintainers.spec.js +++ b/test/unit/webui/components/PackageSidebar/maintainers.spec.js @@ -23,12 +23,12 @@ describe(' : ', () => { expect(wrapper.html()).toMatchSnapshot(); }); - it('author shoule be equal to Alex Kocharin', () => { + it('author shoule be equal to User NPM', () => { expect(instance.author).toEqual({ avatar: 'https://www.gravatar.com/avatar/a5a236ba477ee98908600c40cda74f4a', email: 'test@author.local', - name: 'Alex Kocharin' + name: 'User NPM' }); }); diff --git a/test/unit/webui/components/store/packageMeta.js b/test/unit/webui/components/store/packageMeta.js index 8c79331b3..82acd4196 100644 --- a/test/unit/webui/components/store/packageMeta.js +++ b/test/unit/webui/components/store/packageMeta.js @@ -61,7 +61,7 @@ export const packageMeta = { version: '2.7.1', description: 'Private npm repository server', author: { - name: 'Alex Kocharin', + name: 'User NPM', email: 'test@author.local', avatar: 'https://www.gravatar.com/avatar/a5a236ba477ee98908600c40cda74f4a' }, @@ -208,13 +208,13 @@ export const packageMeta = { 'https://www.gravatar.com/avatar/4ef03c2bf8d8689527903212d96fb45b' }, { - name: 'Alex Kocharin', + name: 'User NPM', email: 'test2@test.local', avatar: 'https://www.gravatar.com/avatar/a5a236ba477ee98908600c40cda74f4a' }, { - name: 'Alex Kocharin', + name: 'User NPM', email: 'test3@test.comu', avatar: 'https://www.gravatar.com/avatar/41a61049006855759bd6ec82ef0543a0' @@ -406,13 +406,13 @@ export const packageMeta = { 'https://www.gravatar.com/avatar/fba48015a688c38cc84e5b55b07858c0' }, { - name: 'Juan Picado', + name: 'User NPM', email: 'test35@test.local', avatar: 'https://www.gravatar.com/avatar/fba48015a688c38cc84e5b55b07858c0' }, { - name: 'Juan Picado @jotadeveloper', + name: 'User NPM @nickname', email: 'test36@test.local', avatar: 'https://www.gravatar.com/avatar/fba48015a688c38cc84e5b55b07858c0' @@ -610,13 +610,13 @@ export const packageMeta = { 'https://www.gravatar.com/avatar/3b99683f0a4c26a8906ecbe7968a4ade' }, { - name: 'jotadeveloper', + name: 'nickname', email: 'test69@test.local', avatar: 'https://www.gravatar.com/avatar/fba48015a688c38cc84e5b55b07858c0' }, { - name: 'jotadeveloper', + name: 'nickname', email: 'test70@test.local', avatar: 'https://www.gravatar.com/avatar/047ba1e853d20459e531619af5493c56'