diff --git a/WordPress/WordPressTest/MediaURLExporterTests.swift b/WordPress/WordPressTest/MediaURLExporterTests.swift index f16fd297da10..81fb8f3eecb3 100644 --- a/WordPress/WordPressTest/MediaURLExporterTests.swift +++ b/WordPress/WordPressTest/MediaURLExporterTests.swift @@ -31,15 +31,15 @@ class MediaURLExporterTests: XCTestCase { waitForExpectations(timeout: 2.0, handler: nil) } - func testThatURLExportingVideoWorks() { - exportTestVideo(removingGPS: false) + func testThatURLExportingVideoWorks() throws { + try exportTestVideo(removingGPS: false) } func testThatURLExportingVideoWithoutGPSWorks() throws { - exportTestVideo(removingGPS: true) + try exportTestVideo(removingGPS: true) } - fileprivate func exportTestVideo(removingGPS: Bool) { + fileprivate func exportTestVideo(removingGPS: Bool) throws { throw XCTSkip("This test became too flaky in iOS 18") guard let mediaPath = OHPathForFile(testDeviceVideoName, type(of: self)) else {