mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
refactor(core): Move integration test utils for insights (#16693)
This commit is contained in:
@@ -1,14 +1,13 @@
|
||||
import { CredentialsEntity } from '@n8n/db';
|
||||
import { Project } from '@n8n/db';
|
||||
import { User } from '@n8n/db';
|
||||
import { randomInt } from 'n8n-workflow';
|
||||
|
||||
import {
|
||||
randomCredentialPayload,
|
||||
randomEmail,
|
||||
randomName,
|
||||
uniqueId,
|
||||
} from '../integration/shared/random';
|
||||
} from '@n8n/backend-test-utils';
|
||||
import { CredentialsEntity } from '@n8n/db';
|
||||
import { Project } from '@n8n/db';
|
||||
import { User } from '@n8n/db';
|
||||
import { randomInt } from 'n8n-workflow';
|
||||
|
||||
export const mockCredential = (): CredentialsEntity =>
|
||||
Object.assign(new CredentialsEntity(), randomCredentialPayload());
|
||||
|
||||
Reference in New Issue
Block a user