Skip to content

Commit

Permalink
chore: update mock data with status property
Browse files Browse the repository at this point in the history
  • Loading branch information
Nirajn2311 committed Nov 23, 2023
1 parent 3f0ae29 commit 8bc8419
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/backend/src/seed/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ async function createSeedUsers(strapi) {
email: "contributor@user.com",
password: "contributor",
provider: "local",
status: "active",
confirmed: true,
role: {
connect: [contributor],
Expand All @@ -48,6 +49,7 @@ async function createSeedUsers(strapi) {
email: "editor@user.com",
password: "editor",
provider: "local",
status: "active",
confirmed: true,
role: {
connect: [editor],
Expand Down
2 changes: 2 additions & 0 deletions apps/backend/tests/helpers/fixtures.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const setupFixtures = async () => {
username: "contributor-user",
email: "contributor@example.com",
password: "contributor",
status: "active",
confirmed: true,
role: {
connect: [contributor],
Expand All @@ -23,6 +24,7 @@ const setupFixtures = async () => {
username: "editor-user",
email: "editor@example.com",
password: "editor",
status: "active",
confirmed: true,
role: {
connect: [editor],
Expand Down

0 comments on commit 8bc8419

Please sign in to comment.