Skip to content

Commit be5feeb

Browse files
committed
[API] Test Runner: Returns API response object when performing internal
1 parent 574a95d commit be5feeb

File tree

1 file changed

+1
-1
lines changed
  • elasticsearch-api/api-spec-testing/test_file

1 file changed

+1
-1
lines changed

elasticsearch-api/api-spec-testing/test_file/action.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def perform_internal(method, args, client, es_version)
160160
path = '_internal/_health'
161161
body = args.delete('body')
162162
end
163-
@response = client.perform_request(http, path, args, body)
163+
@response = Elasticsearch::API::Response.new(client.perform_request(http, path, args, body))
164164
client
165165
end
166166

0 commit comments

Comments
 (0)