Skip to content

Commit

Permalink
Fix dummy emails
Browse files Browse the repository at this point in the history
  • Loading branch information
jrivals committed Dec 17, 2024
1 parent 3288094 commit d55f224
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions database/seeds/dummy/001-users.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,23 @@ exports.seed = async function (knex: Knex) {
await Users().insert([
{
id: uuidv4(),
email: '[email protected].fr',
email: '[email protected]',
password: bcrypt.hashSync('Test2024'),
firstName: fakerFR.person.firstName(),
lastName: fakerFR.person.lastName(),
roles: ['Administrator']
},
{
id: uuidv4(),
email: '[email protected].fr',
email: '[email protected]',
password: bcrypt.hashSync('Test2024'),
firstName: fakerFR.person.firstName(),
lastName: fakerFR.person.lastName(),
roles: ['NationalCoordinator']
},
{
id: uuidv4(),
email: '[email protected].fr',
email: '[email protected]',
password: bcrypt.hashSync('Test2024'),
firstName: fakerFR.person.firstName(),
lastName: fakerFR.person.lastName(),
Expand All @@ -36,7 +36,7 @@ exports.seed = async function (knex: Knex) {
},
{
id: uuidv4(),
email: '[email protected].fr',
email: '[email protected]',
password: bcrypt.hashSync('Test2024'),
firstName: fakerFR.person.firstName(),
lastName: fakerFR.person.lastName(),
Expand All @@ -45,7 +45,7 @@ exports.seed = async function (knex: Knex) {
},
{
id: uuidv4(),
email: '[email protected].fr',
email: '[email protected]',
password: bcrypt.hashSync('Test2024'),
firstName: fakerFR.person.firstName(),
lastName: fakerFR.person.lastName(),
Expand All @@ -54,7 +54,7 @@ exports.seed = async function (knex: Knex) {
},
{
id: uuidv4(),
email: '[email protected].fr',
email: '[email protected]',
password: bcrypt.hashSync('Test2024'),
firstName: fakerFR.person.firstName(),
lastName: fakerFR.person.lastName(),
Expand Down
2 changes: 1 addition & 1 deletion database/seeds/dummy/003-programming-plans.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ exports.seed = async function (knex: Knex) {
setKnexInstance(knex);

const user = await Users()
.where('email', '[email protected].fr')
.where('email', '[email protected]')
.first();

if (!user) {
Expand Down

0 comments on commit d55f224

Please sign in to comment.