Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

This file was deleted.

This file was deleted.

7 changes: 3 additions & 4 deletions test/Sentry.AspNetCore.Tests/WebIntegrationTests.verify.cs
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,9 @@ public async Task PreFlightIgnoresTransaction()
// dispose will ultimately trigger the background worker to flush
server.Dispose();

await Verify(new { result, transport.Payloads })
.IgnoreStandardSentryMembers()
.ScrubAspMembers()
.UniqueForTargetFrameworkAndVersion();
// No transaction should be recorded for pre-flight/options requests
// See: https://github.com/getsentry/sentry-dotnet/issues/1835#issuecomment-1239546099
transport.Payloads.Any().Should().BeFalse();
}

[ApiController]
Expand Down
Loading