Skip to content

Commit

Permalink
fix integration tests to conform to latest HTTPClient change (#1295)
Browse files Browse the repository at this point in the history
  • Loading branch information
dayaffe authored Jan 10, 2024
1 parent cfa1728 commit 688e599
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import AWSClientRuntime
import AwsCommonRuntimeKit
import ClientRuntime

public class MockHttpClientEngine: HttpClientEngine {
public class MockHttpClientEngine: HTTPClient {

// Public initializer
public init() {}
Expand All @@ -33,7 +33,7 @@ public class MockHttpClientEngine: HttpClientEngine {
)
}

public func execute(request: SdkHttpRequest) async throws -> HttpResponse {
public func send(request: SdkHttpRequest) async throws -> HttpResponse {
return successHttpResponse(request: request)
}
}
Expand Down

0 comments on commit 688e599

Please sign in to comment.