mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 11:01:15 +00:00
fix(core): Stop enforcing max numbers of API keys limit (no-changelog) (#13631)
This commit is contained in:
@@ -3,9 +3,7 @@ import { mock } from 'jest-mock-extended';
|
||||
|
||||
import type { ApiKey } from '@/databases/entities/api-key';
|
||||
import type { User } from '@/databases/entities/user';
|
||||
import { ApiKeyRepository } from '@/databases/repositories/api-key.repository';
|
||||
import { EventService } from '@/events/event.service';
|
||||
import { License } from '@/license';
|
||||
import type { AuthenticatedRequest } from '@/requests';
|
||||
import { PublicApiKeyService } from '@/services/public-api-key.service';
|
||||
import { mockInstance } from '@test/mocking';
|
||||
@@ -15,8 +13,7 @@ import { ApiKeysController } from '../api-keys.controller';
|
||||
describe('ApiKeysController', () => {
|
||||
const publicApiKeyService = mockInstance(PublicApiKeyService);
|
||||
const eventService = mockInstance(EventService);
|
||||
mockInstance(ApiKeyRepository);
|
||||
mockInstance(License);
|
||||
|
||||
const controller = Container.get(ApiKeysController);
|
||||
|
||||
let req: AuthenticatedRequest;
|
||||
|
||||
Reference in New Issue
Block a user