From 78adcf2ac3144cd46feb1b5bd548da0807399f69 Mon Sep 17 00:00:00 2001 From: Viren Baraiya Date: Sun, 4 Feb 2024 16:03:35 -0800 Subject: [PATCH] Update WorkflowResourceApiTest.cs --- Tests/Api/WorkflowResourceApiTest.cs | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/Tests/Api/WorkflowResourceApiTest.cs b/Tests/Api/WorkflowResourceApiTest.cs index d815a32..be9fb62 100644 --- a/Tests/Api/WorkflowResourceApiTest.cs +++ b/Tests/Api/WorkflowResourceApiTest.cs @@ -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 = ""; - - //private readonly OrkesApiClient _orkesApiClient; + private const string OWNER_EMAIL = "developer@orkes.io"; + private readonly WorkflowResourceApi _workflowClient; private readonly MetadataResourceApi _metadataResourceApi; private readonly ILogger _logger; public WorkflowResourceApiTest() { - // Dev local test - //_orkesApiClient = new OrkesApiClient(new Configuration(), new OrkesAuthenticationSettings("", "")); - //_workflowClient = _orkesApiClient.GetClient(); - //_metadataResourceApi = _orkesApiClient.GetClient(); - _workflowClient = ApiExtensions.GetClient(); _metadataResourceApi = ApiExtensions.GetClient(); _logger = ApplicationLogging.CreateLogger();