mirror of
https://github.com/plankanban/planka.git
synced 2025-12-23 01:11:40 +03:00
@@ -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',
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user