mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 11:22:15 +00:00
refactor(core): Remove roleId indirection (no-changelog) (#8413)
This commit is contained in:
committed by
GitHub
parent
1affebd85e
commit
d6deceacde
@@ -249,11 +249,6 @@ export const setupTestServer = ({
|
||||
registerController(app, BinaryDataController);
|
||||
break;
|
||||
|
||||
case 'role':
|
||||
const { RoleController } = await import('@/controllers/role.controller');
|
||||
registerController(app, RoleController);
|
||||
break;
|
||||
|
||||
case 'debug':
|
||||
const { DebugController } = await import('@/controllers/debug.controller');
|
||||
registerController(app, DebugController);
|
||||
|
||||
@@ -13,7 +13,7 @@ export const validateUser = (user: PublicUser) => {
|
||||
expect(user.settings).toBe(null);
|
||||
expect(user.personalizationAnswers).toBeNull();
|
||||
expect(user.password).toBeUndefined();
|
||||
expect(user.globalRole).toBeDefined();
|
||||
expect(user.role).toBeDefined();
|
||||
};
|
||||
|
||||
export const assertInviteUserSuccessResponse = (data: UserInvitationResponse) => {
|
||||
|
||||
Reference in New Issue
Block a user