From 787555babb3d9c989eafaed416e756b10351067e Mon Sep 17 00:00:00 2001 From: Gio Lodi Date: Mon, 30 Sep 2024 07:41:16 +1000 Subject: [PATCH] Address a build failure in the tests because of unhandled `XCTSkip` --- WordPress/WordPressTest/MediaURLExporterTests.swift | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 {