Skip to content

Commit

Permalink
Update WorkflowResourceApiTest.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
v1r3n committed Feb 5, 2024
1 parent df0feca commit 78adcf2
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions Tests/Api/WorkflowResourceApiTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,14 @@ public class WorkflowResourceApiTest
private const string WORKFLOW_VARIABLE_2 = "TestVariable2";
private const string WORKFLOW_DESC = "Test Workflow With Variables";
private const int WORKFLOW_VERSION = 1;
private const string OWNER_EMAIL = "<REPLACE_WITH_OWNER_EMAIL>";

//private readonly OrkesApiClient _orkesApiClient;
private const string OWNER_EMAIL = "[email protected]";

private readonly WorkflowResourceApi _workflowClient;
private readonly MetadataResourceApi _metadataResourceApi;
private readonly ILogger _logger;

public WorkflowResourceApiTest()
{
// Dev local test
//_orkesApiClient = new OrkesApiClient(new Configuration(), new OrkesAuthenticationSettings("<Key_Id>", "<Key_Secret>"));
//_workflowClient = _orkesApiClient.GetClient<WorkflowResourceApi>();
//_metadataResourceApi = _orkesApiClient.GetClient<MetadataResourceApi>();

_workflowClient = ApiExtensions.GetClient<WorkflowResourceApi>();
_metadataResourceApi = ApiExtensions.GetClient<MetadataResourceApi>();
_logger = ApplicationLogging.CreateLogger<WorkerTests>();
Expand Down

0 comments on commit 78adcf2

Please sign in to comment.