Commit c770abda authored by Mayra Cabrera's avatar Mayra Cabrera

Fixes broken specs on parsers/security

Fixtures were changed on CE, but not updated on EE.

CE MR that updated the fixtures:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/31146

Closes https://gitlab.com/gitlab-org/gitlab-ee/issues/13080
parent 4eb54ae2
......@@ -38,7 +38,7 @@ describe Gitlab::Ci::Parsers::Security::DependencyList do
expect(vuln_nokogiri.size).to eq(4)
expect(vuln_nokogiri[0]['name']).to eq('Vulnerabilities in libxml2')
expect(vuln_nokogiri[0]['severity']).to eq('Unknown')
expect(vuln_nokogiri[0]['severity']).to eq('High')
expect(vuln_debug.size).to eq(1)
expect(vuln_debug[0]['name']).to eq('Regular Expression Denial of Service')
expect(vuln_async.size).to eq(0)
......
......@@ -45,7 +45,7 @@ describe Gitlab::Ci::Parsers::Security::Formatters::DependencyList do
expect(vulnerabilities.size).to eq(4)
expect(vulnerabilities[0]['name']).to eq('Vulnerabilities in libxml2')
expect(vulnerabilities[3]['name']).to eq('Bypass of a protection mechanism in libxslt')
expect(vulnerabilities[0]['severity']).to eq('Unknown')
expect(vulnerabilities[0]['severity']).to eq('High')
end
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