Skip to content

Commit

Permalink
Fix unit tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
pixlwave committed Jul 1, 2024
1 parent b70824d commit 932f2ec
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Enterprise
6 changes: 4 additions & 2 deletions UnitTests/Sources/BugReportServiceTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ class BugReportServiceTests: XCTestCase {
applicationId: "mock_app_id",
sdkGitSHA: "1234",
maxUploadSize: ServiceLocator.shared.settings.bugReportMaxUploadSize,
session: .mock)
session: .mock,
appHooks: AppHooks())
XCTAssertFalse(service.crashedLastRun)
}

Expand All @@ -63,7 +64,8 @@ class BugReportServiceTests: XCTestCase {
applicationId: "mock_app_id",
sdkGitSHA: "1234",
maxUploadSize: ServiceLocator.shared.settings.bugReportMaxUploadSize,
session: .mock)
session: .mock,
appHooks: AppHooks())

let bugReport = BugReport(userID: "@mock:client.com",
deviceID: nil,
Expand Down

0 comments on commit 932f2ec

Please sign in to comment.