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,3 +1,10 @@
|
||||
import {
|
||||
mockInstance,
|
||||
randomEmail,
|
||||
randomInvalidPassword,
|
||||
randomName,
|
||||
randomValidPassword,
|
||||
} from '@n8n/backend-test-utils';
|
||||
import type { User } from '@n8n/db';
|
||||
import { ProjectRelationRepository } from '@n8n/db';
|
||||
import { UserRepository } from '@n8n/db';
|
||||
@@ -14,14 +21,7 @@ import {
|
||||
assertStoredUserProps,
|
||||
assertUserInviteResult,
|
||||
} from './assertions';
|
||||
import { mockInstance } from '../../../shared/mocking';
|
||||
import { createMember, createOwner, createUserShell } from '../../shared/db/users';
|
||||
import {
|
||||
randomEmail,
|
||||
randomInvalidPassword,
|
||||
randomName,
|
||||
randomValidPassword,
|
||||
} from '../../shared/random';
|
||||
import * as utils from '../../shared/utils';
|
||||
import type { UserInvitationResult } from '../../shared/utils/users';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user