diff --git a/native/swift/Tests/wordpress-api/WordPressAPITests.swift b/native/swift/Tests/wordpress-api/WordPressAPITests.swift index d60841abb..4b45641bd 100644 --- a/native/swift/Tests/wordpress-api/WordPressAPITests.swift +++ b/native/swift/Tests/wordpress-api/WordPressAPITests.swift @@ -10,6 +10,6 @@ final class WordPressAPITests: XCTestCase { func testExample() throws { let request = try WpRequestBuilder(siteUrl: "https://wordpress.org", authentication: .none) .users().list(context: .view, params: nil) - XCTAssertTrue(XCTUnwrap(request).url.hasPrefix("https://wordpress.org/wp-json/wp/v2/users")) + XCTAssertTrue(try XCTUnwrap(request).url.hasPrefix("https://wordpress.org/wp-json/wp/v2/users")) } }