From d03c4f9f77248b404448f9eed158a086ee234567 Mon Sep 17 00:00:00 2001 From: Dhiogo Brustolin Date: Wed, 16 Oct 2024 16:36:21 +0200 Subject: [PATCH] Update SentryUIViewControllerPerformanceTrackerTests.swift --- .../SentryUIViewControllerPerformanceTrackerTests.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Tests/SentryTests/Integrations/Performance/UIViewController/SentryUIViewControllerPerformanceTrackerTests.swift b/Tests/SentryTests/Integrations/Performance/UIViewController/SentryUIViewControllerPerformanceTrackerTests.swift index abae8db883..641b5d3e2d 100644 --- a/Tests/SentryTests/Integrations/Performance/UIViewController/SentryUIViewControllerPerformanceTrackerTests.swift +++ b/Tests/SentryTests/Integrations/Performance/UIViewController/SentryUIViewControllerPerformanceTrackerTests.swift @@ -136,6 +136,7 @@ class SentryUIViewControllerPerformanceTrackerTests: XCTestCase { XCTAssertEqual(tracer.transactionContext.nameSource, .component) XCTAssertEqual(tracer.transactionContext.origin, origin) XCTAssertFalse(tracer.isFinished) + XCTAssertTrue(tracer.finishMustBeCalled) sut.viewControllerViewDidLoad(viewController) { if let blockSpan = self.getStack(tracker).last {