Commit ed67f2f5 authored by Elena Tsoy's avatar Elena Tsoy

#26 исправлены фикстуры

parent 486294c9
...@@ -21,7 +21,7 @@ db.once('open', async () => { ...@@ -21,7 +21,7 @@ db.once('open', async () => {
position: "менеджер", position: "менеджер",
telegramName: "@IvanIvanov", telegramName: "@IvanIvanov",
phone: "+7 777 77 77 77", phone: "+7 777 77 77 77",
password: "12345", password: "12345a",
role: "user", role: "user",
token: nanoid() token: nanoid()
}, { }, {
...@@ -32,7 +32,7 @@ db.once('open', async () => { ...@@ -32,7 +32,7 @@ db.once('open', async () => {
position: "бухгалтер", position: "бухгалтер",
telegramName: "@OlgaPetrova", telegramName: "@OlgaPetrova",
phone: "+7 555 555 55 55", phone: "+7 555 555 55 55",
password: "12345", password: "12345a",
role: "accountant", role: "accountant",
token: nanoid() token: nanoid()
}, { }, {
...@@ -43,7 +43,7 @@ db.once('open', async () => { ...@@ -43,7 +43,7 @@ db.once('open', async () => {
position: "директор", position: "директор",
telegramName: "@director", telegramName: "@director",
phone: "+7 555 555 55 55", phone: "+7 555 555 55 55",
password: "12345", password: "12345a",
role: "director", role: "director",
token: nanoid() token: nanoid()
}, { }, {
...@@ -54,7 +54,7 @@ db.once('open', async () => { ...@@ -54,7 +54,7 @@ db.once('open', async () => {
position: "admin", position: "admin",
telegramName: "@admin", telegramName: "@admin",
phone: "+7 555 555 55 55", phone: "+7 555 555 55 55",
password: "12345", password: "12345a",
role: "admin", role: "admin",
token: nanoid() token: nanoid()
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment