Skip to content

Commit

Permalink
Update tests/Activities.UnitTests/Internal/ActivitiesEventSourceTests.cs
Browse files Browse the repository at this point in the history
Co-authored-by: artempushkin <[email protected]>
  • Loading branch information
Gnol-VN and artempushkin authored May 27, 2024
1 parent d007172 commit 11c6e08
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ public void LogActivityEndEvent_CreatesEvent(EventSourcesEventIds eventId, bool
contextMock.Setup(c => c.ServiceName).Returns("TestService");

Mock<IOptions<ActivityOption>> mockOptions = new();
ActivityOption activityOption = new ActivityOption();
activityOption.ActivityEventSenderEnabled = true;
ActivityOption activityOption = new() { ActivityEventSenderEnabled = true };
mockOptions.Setup(m => m.Value).Returns(activityOption);

ActivityEventSender logEventSource = new(
Expand Down

0 comments on commit 11c6e08

Please sign in to comment.