mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
refactor: Rewrite workflow public-api tests to avoid timeouts (no-changelog) (#5696)
This commit is contained in:
committed by
GitHub
parent
6c74d41f23
commit
b4e60c3b47
@@ -172,7 +172,7 @@ export async function createUser(attributes: Partial<User> = {}): Promise<User>
|
||||
password: await hashPassword(password ?? randomValidPassword()),
|
||||
firstName: firstName ?? randomName(),
|
||||
lastName: lastName ?? randomName(),
|
||||
globalRole: globalRole ?? (await getGlobalMemberRole()),
|
||||
globalRoleId: (globalRole ?? (await getGlobalMemberRole())).id,
|
||||
...rest,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user