refactor(core): Move first batch of repositories to @n8n/db (#15130)

This commit is contained in:
Iván Ovejero
2025-05-06 11:22:43 +02:00
committed by GitHub
parent 939ff97ec4
commit ade546fb48
151 changed files with 338 additions and 299 deletions

View File

@@ -24,7 +24,13 @@ mockInstance(License, {
const testServer = utils.setupTestServer({ endpointGroups: ['publicApi'] });
beforeEach(async () => {
await testDb.truncate(['SharedCredentials', 'SharedWorkflow', 'Workflow', 'Credentials', 'User']);
await testDb.truncate([
'SharedCredentials',
'SharedWorkflow',
'WorkflowEntity',
'CredentialsEntity',
'User',
]);
});
describe('With license unlimited quota:users', () => {