Skip to content

Commit

Permalink
Skips private APIs in OTel tests
Browse files Browse the repository at this point in the history
  • Loading branch information
picandocodigo committed Sep 16, 2024
1 parent 19e4aa2 commit 9e09d93
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
describe 'Perform request args' do
Elasticsearch::API::FilesHelper.files.each do |filepath|
spec = Elasticsearch::API::EndpointSpec.new(filepath)
next if spec.module_namespace.flatten.first == '_internal'
next if spec.module_namespace.flatten.first == '_internal' || spec.visibility? == 'private'

# These are the path parts defined by the user in the method argument
defined_path_parts = spec.path_params.inject({}) do |params, part|
Expand Down

0 comments on commit 9e09d93

Please sign in to comment.