Commit a8496ba7 authored by Nick Thomas's avatar Nick Thomas

Merge branch 'fix-container-scanning-remediation-bug' into 'master'

Fix bug in Container Scanning report remediations

See merge request gitlab-org/gitlab!21980
parents 4fce0d35 cb2865ed
---
title: Fix bug in Container Scanning report remediations
merge_request: 21980
author:
type: fixed
......@@ -9,6 +9,8 @@ module Gitlab
severity
identifiers
links
remediations
target_branch
].each do |method_name|
define_method(method_name) do
@data[method_name]
......
......@@ -22,7 +22,7 @@ describe Gitlab::Vulnerabilities::ContainerScanningVulnerability do
let(:vulnerability) { described_class.new(data) }
where(:getter) do
%i[severity confidence identifiers links]
%i[severity confidence identifiers links target_branch remediations]
end
with_them do
......
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