mirror of
https://github.com/plankanban/planka.git
synced 2025-07-21 14:19:44 +02:00
parent
ad7fb51cfa
commit
2ee1166747
1557 changed files with 76832 additions and 47042 deletions
|
@ -2,9 +2,10 @@ const { expect } = require('chai');
|
|||
|
||||
describe('User (model)', () => {
|
||||
before(async () => {
|
||||
await User.create({
|
||||
await User.qm.createOne({
|
||||
email: 'test@test.test',
|
||||
password: 'test',
|
||||
role: User.Roles.ADMIN,
|
||||
name: 'test',
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue