Commit 9a892ebd authored by Jonathan Schafer's avatar Jonathan Schafer

Remove test for other issue

parent 865c5617
...@@ -185,16 +185,6 @@ RSpec.describe Projects::VulnerabilityFeedbackController do ...@@ -185,16 +185,6 @@ RSpec.describe Projects::VulnerabilityFeedbackController do
expect { subject }.to change { Vulnerabilities::IssueLink.count }.by(1) expect { subject }.to change { Vulnerabilities::IssueLink.count }.by(1)
end end
end end
context 'when uuid of finding is provided' do
let!(:vulnerability) { create(:vulnerability, :with_findings, project: project) }
it 'sets the finding_uuid field of the feedback' do
create_feedback user: user, project: project, params: create_params.deep_merge(feedback_type: 'issue', finding_uuid: vulnerability.finding.uuid)
expect(json_response['finding_uuid']).to eq(vulnerability.finding.uuid)
end
end
end 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