Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
E
ESDP_froot.kz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
10
Issues
10
List
Board
Labels
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ESDP_froot.kz
ESDP_froot.kz
Commits
ed67f2f5
Commit
ed67f2f5
authored
Mar 15, 2021
by
Elena Tsoy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#26
исправлены фикстуры
parent
486294c9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
fixtures.js
api/fixtures.js
+4
-4
No files found.
api/fixtures.js
View file @
ed67f2f5
...
@@ -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
:
"12345
a
"
,
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
:
"12345
a
"
,
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
:
"12345
a
"
,
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
:
"12345
a
"
,
role
:
"admin"
,
role
:
"admin"
,
token
:
nanoid
()
token
:
nanoid
()
})
})
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment