mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
refactor(core): Move first batch of repositories to @n8n/db (#15130)
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import type { User } from '@n8n/db';
|
||||
import { CredentialsRepository } from '@n8n/db';
|
||||
import { Container } from '@n8n/di';
|
||||
import { randomString } from 'n8n-workflow';
|
||||
|
||||
import { CredentialsRepository } from '@/databases/repositories/credentials.repository';
|
||||
import { SharedCredentialsRepository } from '@/databases/repositories/shared-credentials.repository';
|
||||
import { createTeamProject } from '@test-integration/db/projects';
|
||||
|
||||
@@ -40,7 +40,7 @@ beforeAll(async () => {
|
||||
});
|
||||
|
||||
beforeEach(async () => {
|
||||
await testDb.truncate(['SharedCredentials', 'Credentials']);
|
||||
await testDb.truncate(['SharedCredentials', 'CredentialsEntity']);
|
||||
});
|
||||
|
||||
describe('POST /credentials', () => {
|
||||
|
||||
Reference in New Issue
Block a user