Skip to content

Commit

Permalink
Update samples/AzureFunctionsUnitTests/SampleUnitTests.cs
Browse files Browse the repository at this point in the history
Co-authored-by: Jacob Viau <[email protected]>
  • Loading branch information
davidmrdavid and jviau authored May 17, 2024
1 parent 5c8800d commit fb8b654
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/AzureFunctionsUnitTests/SampleUnitTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public class SampleUnitTests
public async Task OrchestrationReturnsMultipleGreetings()
{
// create mock orchestration context, and mock ILogger.
var contextMock = new Mock<TaskOrchestrationContext>();
Mock<TaskOrchestrationContext> contextMock = new();

// mock activity results
// In Moq, optional arguments need to be specified as well. We specify them with It.IsAny<T>(), where T is the type of the optional argument
Expand Down

0 comments on commit fb8b654

Please sign in to comment.