mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
test: Add credential helper and ndv helper (#18636)
This commit is contained in:
@@ -9,6 +9,7 @@ import {
|
||||
INSTANCE_ADMIN_CREDENTIALS,
|
||||
} from '../config/test-users';
|
||||
import { TestError } from '../Types';
|
||||
import { CredentialApiHelper } from './credential-api-helper';
|
||||
import { ProjectApiHelper } from './project-api-helper';
|
||||
import { WorkflowApiHelper } from './workflow-api-helper';
|
||||
|
||||
@@ -35,11 +36,13 @@ export class ApiHelpers {
|
||||
request: APIRequestContext;
|
||||
workflowApi: WorkflowApiHelper;
|
||||
projectApi: ProjectApiHelper;
|
||||
credentialApi: CredentialApiHelper;
|
||||
|
||||
constructor(requestContext: APIRequestContext) {
|
||||
this.request = requestContext;
|
||||
this.workflowApi = new WorkflowApiHelper(this);
|
||||
this.projectApi = new ProjectApiHelper(this);
|
||||
this.credentialApi = new CredentialApiHelper(this);
|
||||
}
|
||||
|
||||
// ===== MAIN SETUP METHODS =====
|
||||
|
||||
Reference in New Issue
Block a user