Skip to content

Commit 49e3e7b

Browse files
Fix test
1 parent 1e666fd commit 49e3e7b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/SentryTests/Integrations/Performance/AppStartTracking/SentryAppStartTrackerTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,15 +152,15 @@ class SentryAppStartTrackerTests: NotificationCenterTestCase {
152152
#endif
153153
}
154154

155-
func testAppLaunches_OSPrewarmedProcess_FeatureDisabled_AppStartUpShortened() {
155+
func testAppLaunches_OSPrewarmedProcess_FeatureDisabled_NoAppStartUp() {
156156
fixture.enablePreWarmedAppStartTracking = false
157157

158158
setenv("ActivePrewarm", "1", 1)
159159
SentryAppStartTracker.load()
160160
givenSystemNotRebooted()
161161

162162
fixture.fileManager.moveAppStateToPreviousAppState()
163-
startApp(processStartTimeStamp: fixture.currentDate.date().addingTimeInterval(-60 * 60 * 4))
163+
startApp()
164164
#if os(iOS)
165165
if #available(iOS 14.0, *) {
166166
assertNoAppStartUp()

0 commit comments

Comments
 (0)