Skip to content

Commit 5949b9e

Browse files
tests: Fix broken ANRTracking tests (#5017)
The feature branch didn't include the refactoring of renaming assertCrashEventWithScope to assertFatalEventWithScope. This is fixed now.
1 parent 6706f0f commit 5949b9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/SentryTests/Integrations/ANR/SentryANRTrackingIntegrationTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ class SentryANRTrackingIntegrationTests: SentrySDKIntegrationTestsBase {
526526
sut.pauseAppHangTracking()
527527

528528
// Assert
529-
try assertCrashEventWithScope { event, _ in
529+
try assertFatalEventWithScope { event, _ in
530530
XCTAssertEqual(event?.level, SentryLevel.fatal)
531531

532532
let ex = try XCTUnwrap(event?.exceptions?.first)

0 commit comments

Comments
 (0)