diff --git a/backend/src/db/factories.ts b/backend/src/db/factories.ts index 4ec34e289..6ba0b92bb 100644 --- a/backend/src/db/factories.ts +++ b/backend/src/db/factories.ts @@ -63,7 +63,7 @@ Factory.define('basicUser') .option('password', '1234') .attrs({ id: uuid, - name: faker.name.fullName, + name: faker.person.fullName, password: '1234', role: 'user', termsAndConditionsAgreedVersion: '0.0.1', diff --git a/webapp/storybook/helpers.js b/webapp/storybook/helpers.js index e52fb03ed..caa41dd86 100644 --- a/webapp/storybook/helpers.js +++ b/webapp/storybook/helpers.js @@ -61,7 +61,7 @@ const helpers = { }, fakeUser(n) { return new Array(n || 1).fill(0).map(() => { - const name = faker.person.person.fullName() + const name = faker.person.fullName() return { id: faker.string.uuid(), name,