mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 11:01:15 +00:00
chore(core): Introduce license feature flag for custom roles (#19038)
This commit is contained in:
@@ -13,6 +13,7 @@ import { ProjectService } from '@/services/project.service.ee';
|
||||
import { LicenseMocker } from '@test-integration/license';
|
||||
|
||||
import { createUser } from './shared/db/users';
|
||||
import { LicenseState } from '@n8n/backend-common';
|
||||
|
||||
describe('ProjectService', () => {
|
||||
let projectService: ProjectService;
|
||||
@@ -26,6 +27,7 @@ describe('ProjectService', () => {
|
||||
|
||||
const license: LicenseMocker = new LicenseMocker();
|
||||
license.mock(Container.get(License));
|
||||
license.mockLicenseState(Container.get(LicenseState));
|
||||
license.enable('feat:projectRole:editor');
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user