From 00408195e74825e15ed6b2342c93f6710b43f3ce Mon Sep 17 00:00:00 2001 From: Honza Dvorsky Date: Mon, 27 Nov 2023 17:22:05 +0100 Subject: [PATCH] Undeprecate tests that used to test deprecated code --- Tests/PetstoreConsumerTests/Test_Client.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/PetstoreConsumerTests/Test_Client.swift b/Tests/PetstoreConsumerTests/Test_Client.swift index 873fe4a4..4c95dc9e 100644 --- a/Tests/PetstoreConsumerTests/Test_Client.swift +++ b/Tests/PetstoreConsumerTests/Test_Client.swift @@ -595,7 +595,7 @@ final class Test_Client: XCTestCase { } } - @available(*, deprecated) func testProbe_204() async throws { + func testProbe_204() async throws { transport = .init { request, requestBody, baseURL, operationID in XCTAssertEqual(operationID, "probe") XCTAssertEqual(request.path, "/probe/") @@ -612,7 +612,7 @@ final class Test_Client: XCTestCase { } } - @available(*, deprecated) func testProbe_undocumented() async throws { + func testProbe_undocumented() async throws { transport = .init { request, requestBody, baseURL, operationID in (.init(status: .serviceUnavailable), nil) } let response = try await client.probe(.init()) guard case let .undocumented(statusCode, _) = response else {