Commit cad12337 authored by Jonathan Schafer's avatar Jonathan Schafer

Fixes from review

parent adaa4351
...@@ -24,5 +24,3 @@ module Issues ...@@ -24,5 +24,3 @@ module Issues
end end
end end
end end
Issues::BuildService.prepend_if_ee('EE::Issues::BuildService')
---
title: Create a new service to build an issue from a vulnerability
merge_request: 47510
author:
type: added
...@@ -15,7 +15,7 @@ RSpec.describe Issues::BuildFromVulnerabilityService, '#execute' do ...@@ -15,7 +15,7 @@ RSpec.describe Issues::BuildFromVulnerabilityService, '#execute' do
group.add_developer(user) group.add_developer(user)
end end
context 'is a vulnerability with remediations' do context 'when a vulnerability has remediations' do
let(:vulnerability) { create(:vulnerability, :with_remediation, project: project) } let(:vulnerability) { create(:vulnerability, :with_remediation, project: project) }
context 'when raw_metadata has no remediations' do context 'when raw_metadata has no remediations' 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