We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19166b5 commit 8fa09e9Copy full SHA for 8fa09e9
test/Sentry.Maui.Tests/MauiEventsBinderTests.cs
@@ -20,14 +20,13 @@ public Fixture()
20
{
21
Hub = Substitute.For<IHub>();
22
Hub.When(h => h.ConfigureScope(Arg.Any<Action<Scope>>()))
23
- .Do(c => c.Arg<Action<Scope>>()(Scope));
+ .Do(c =>
24
+ {
25
+ c.Arg<Action<Scope>>()(Scope);
26
- Hub.StartSpan(default, default).ReturnsForAnyArgs(args =>
- {
27
- var tracer = Substitute.For<ITransactionTracer>();
28
- return tracer;
29
- });
+ });
30
+ Scope.Transaction = Substitute.For<ITransactionTracer>();
31
32
Options.Debug = true;
33
var logger = Substitute.For<IDiagnosticLogger>();
0 commit comments