Ignore fields with :SKIP: when comparing JSON
What does this MR do?
-
Use
include_json(expected)
instead ofeql(expected)
when comparing JSON. -
Monkeypatch the RSpec::JsonExpectations gem so it returns
true
when comparing fields containing the string:SKIP:
. -
Remove sorting in the
GitlabSecure::IntegrationTest::Comparable
module from the following fields:- vulnerabilities
- dependency_files
- dependencies
- remediations
Sorting has been removed from these fields because it's already implemented in the report package.
What are the relevant issue numbers?
Update integration-test project to skip fields ... (gitlab-org/gitlab#336332 - closed)
Testing
Edited by Adam Cohen