Skip to content

Commit c046d1f

Browse files
Fix build
1 parent 5000590 commit c046d1f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/Temporalio.Tests/Testing/WorkflowEnvironmentTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ public class NexusCallerWorkflow
284284
[WorkflowRun]
285285
public async Task<string> RunAsync(string input)
286286
{
287-
return await Workflow.CreateNexusClient<INexusLongRunningService>(endpoint).
287+
return await Workflow.CreateNexusWorkflowClient<INexusLongRunningService>(endpoint).
288288
ExecuteNexusOperationAsync(svc => svc.RunLongOperation(input));
289289
}
290290
}
@@ -373,7 +373,7 @@ public class NexusCallerWithTimeoutWorkflow
373373
[WorkflowRun]
374374
public async Task<string> RunAsync(string input)
375375
{
376-
return await Workflow.CreateNexusClient<INexusLongRunningService>(endpoint).
376+
return await Workflow.CreateNexusWorkflowClient<INexusLongRunningService>(endpoint).
377377
ExecuteNexusOperationAsync(
378378
svc => svc.RunLongOperation(input),
379379
new() { ScheduleToCloseTimeout = TimeSpan.FromDays(1) });

0 commit comments

Comments
 (0)