mirror of
https://github.com/outline/outline.git
synced 2026-12-06 19:22:29 +03:00
test
This commit is contained in:
1 parent
e7af0ce6de
commit
eee0abe415
1 file changed
+4
-1
@@ -176,7 +176,7 @@ export async function buildUser(overrides: Partial<User> = {}) {
|
||||
},
|
||||
});
|
||||
count++;
|
||||
return User.create(
|
||||
const user = await User.create(
|
||||
{
|
||||
email: `user${count}@example.com`,
|
||||
name: `User ${count}`,
|
||||
@@ -196,6 +196,9 @@ export async function buildUser(overrides: Partial<User> = {}) {
|
||||
include: "authentications",
|
||||
}
|
||||
);
|
||||
|
||||
user.team = team;
|
||||
return user;
|
||||
}
|
||||
|
||||
export async function buildAdmin(overrides: Partial<User> = {}) {
|
||||
|
||||
Reference in new issue
Block a user