Skip to content

Exclude productAnalyticsState in graphql fields for issue spec

Brett Walker requested to merge bw-exclude-productAnalyticsState into master

What does this MR do and why?

When running rspec spec/requests/api/graphql/project/issues_spec.rb locally, were getting error such as

  1) getting an issue list for a project behaves like graphql issue list request spec behaves like a working graphql query returns a successful response
     Failure/Error: expect(flattened_errors).to eq([])

       expected: []
            got: [{"locations"=>[{"column"=>3, "line"=>445}], "message"=>"\"productAnalyticsState\" field can be reque... "path"=>["project", "issues", "nodes", 4, "designCollection", "project", "productAnalyticsState"]}]

Add productAnalyticsState to the graphql field exclusion list

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading