Commit 2e5dc94a authored by Bob Van Landuyt's avatar Bob Van Landuyt

Merge branch '13080-fixes-broken-specs-on-security-dependency-list' into 'master'

Fixes broken specs on parsers/security

Closes #13080

See merge request gitlab-org/gitlab-ee!14868
parents 65ce25ac c770abda
......@@ -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