Skip to content

Commit

Permalink
Merge branch 'master' into fix/fix-flaky-tests
Browse files Browse the repository at this point in the history
* master:
  Fix compile errors in Xcode 14 (#2146)
  • Loading branch information
kevinrenskers committed Sep 13, 2022
2 parents fccfb49 + 48b387e commit b9b9a89
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,13 +163,13 @@ class SentryUIViewControllerSwizzlingTests: XCTestCase {
let mockApplication = MockApplication(mockApplicationDelegate)
XCTAssertFalse(fixture.sut.swizzleRootViewController(from: mockApplication))
}

func testSwizzle_fromApplication_noWindow() {
let mockApplicationDelegate = MockApplication.MockApplicationDelegate(nil)
let mockApplication = MockApplication(mockApplicationDelegate)
XCTAssertFalse(fixture.sut.swizzleRootViewController(from: mockApplication))
}

func testSwizzle_fromApplication_noRootViewController_InWindow() {
let mockApplicationDelegate = MockApplication.MockApplicationDelegate(UIWindow())
let mockApplication = MockApplication(mockApplicationDelegate)
Expand Down

0 comments on commit b9b9a89

Please sign in to comment.