From 553601a339cd4dc8f875240c54d9609e1a3b309d Mon Sep 17 00:00:00 2001 From: ThomasBazin Date: Fri, 15 Nov 2024 10:54:40 +0100 Subject: [PATCH] chore?(seeds): rename learner in seeds to be shorter and more convenient to use --- ...ganization-learners-with-multiple-participations.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/api/db/seeds/data/team-prescription/build-organization-learners-with-multiple-participations.js b/api/db/seeds/data/team-prescription/build-organization-learners-with-multiple-participations.js index b2c64fd6d8a..738e254fd68 100644 --- a/api/db/seeds/data/team-prescription/build-organization-learners-with-multiple-participations.js +++ b/api/db/seeds/data/team-prescription/build-organization-learners-with-multiple-participations.js @@ -87,16 +87,16 @@ async function _buildMultipleParticipationsForPROASSMULCampaign(databaseBuilder) }); const secondUser = await databaseBuilder.factory.buildUser.withRawPassword({ - firstName: 'Jean-Philippe', - lastName: 'Errvitemonslip', - email: 'jean-philippe-errvitemonslip@example.net', + firstName: 'Tata', + lastName: 'Yoyo', + email: 'tata-yoyo@example.net', cgu: true, lang: 'fr', }); const secondOrganizationLearner = await databaseBuilder.factory.buildOrganizationLearner({ - firstName: 'Jean-Philippe', - lastName: 'Errvitemonslip', + firstName: 'Tata', + lastName: 'Yoyo', userId: secondUser.id, organizationId: PRO_ORGANIZATION_ID, });