Skip to content

Commit

Permalink
Update StartOperationActivityTests.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
TimothyMothra authored Feb 13, 2024
1 parent a1ddb75 commit 1f3836c
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -199,11 +199,7 @@ public void BasicStartOperationWithStartedActivityInScopeOfUnrelatedActivity()

Assert.AreEqual(telemetry, this.sendItems.Single());

#if NET6_0_OR_GREATER
Assert.IsNotNull(Activity.Current);
#else
Assert.IsNull(Activity.Current);
#endif

var request = this.sendItems.Single() as RequestTelemetry;
Assert.IsNotNull(request);
Expand Down

0 comments on commit 1f3836c

Please sign in to comment.