Commit c8f3eeb3 authored by Mark Lapierre's avatar Mark Lapierre

Merge branch 'fix-resource-with-no-info' into 'master'

Use safe navigation

See merge request gitlab-org/gitlab!80862
parents 6ca263cd 3ba76dbd
......@@ -64,7 +64,7 @@ module QA
transformed_values = resources.transform_values! do |v|
v.reject do |attributes|
attributes['info'] == "with full_path 'gitlab-qa-sandbox-group'" ||
attributes['http_method'] == 'get' && !attributes['info'].include?("with username 'qa-") ||
attributes['http_method'] == 'get' && !attributes['info']&.include?("with username 'qa-") ||
attributes['api_path'] == 'Cannot find resource API path'
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment