Skip to content

Commit

Permalink
all seeded accounts with the same password
Browse files Browse the repository at this point in the history
  • Loading branch information
Vidal322 committed Nov 16, 2024
1 parent ae07560 commit 8489e23
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class AccountSeeder(
Account(
name = faker.name().fullName(),
email = faker.internet().emailAddress(),
password = encoder.encode("securepass"),
password = encoder.encode("password123"),
bio = faker.lorem().sentence(),
birthDate = Date.from(faker.date().birthday(30, 40).toInstant()),
photo = null,
Expand All @@ -64,7 +64,7 @@ class AccountSeeder(
Account(
name = faker.name().fullName(),
email = faker.internet().emailAddress(),
password = encoder.encode("anothersecurepass"),
password = encoder.encode("password123"),
bio = null,
birthDate = Date.from(faker.date().birthday(18, 28).toInstant()),
photo = faker.internet().image(),
Expand All @@ -77,7 +77,7 @@ class AccountSeeder(
Account(
name = faker.name().fullName(),
email = faker.internet().emailAddress(),
password = encoder.encode("minpass"),
password = encoder.encode("password123"),
bio = null,
birthDate = Date.from(faker.date().birthday(20, 30).toInstant()),
photo = null,
Expand All @@ -90,7 +90,7 @@ class AccountSeeder(
Account(
name = faker.name().fullName(),
email = faker.internet().emailAddress(),
password = encoder.encode("verysecure"),
password = encoder.encode("password123"),
bio = faker.lorem().paragraph(5),
birthDate = Date.from(faker.date().birthday(35, 45).toInstant()),
photo = faker.internet().image(),
Expand All @@ -102,7 +102,7 @@ class AccountSeeder(
Account(
name = faker.name().fullName(),
email = faker.internet().emailAddress(),
password = encoder.encode("singlepass"),
password = encoder.encode("password123"),
bio = "User with only one role.",
birthDate = Date.from(faker.date().birthday(22, 32).toInstant()),
photo = faker.internet().image(),
Expand All @@ -115,7 +115,7 @@ class AccountSeeder(
Account(
name = faker.name().fullName(),
email = faker.internet().emailAddress(),
password = encoder.encode("nullpass"),
password = encoder.encode("password123"),
bio = null,
birthDate = null,
photo = null,
Expand Down

0 comments on commit 8489e23

Please sign in to comment.