Commit fc3ba92d authored by Stan Hu's avatar Stan Hu

Merge branch...

Merge branch '214574-rename-vulnerabilities-occurrencereportscomparerentity-to-vulnerabilities' into 'master'

Rename Vulnerabilities::OccurrenceReportsComparerEntity to Finding

See merge request gitlab-org/gitlab!30638
parents 0269c9cd aff8073f
# frozen_string_literal: true # frozen_string_literal: true
class Vulnerabilities::OccurrenceReportsComparerEntity < Grape::Entity class Vulnerabilities::FindingReportsComparerEntity < Grape::Entity
include RequestAwareEntity include RequestAwareEntity
expose :base_report_created_at expose :base_report_created_at
......
...@@ -3,5 +3,5 @@ ...@@ -3,5 +3,5 @@
class Vulnerabilities::OccurrenceDiffSerializer < BaseSerializer class Vulnerabilities::OccurrenceDiffSerializer < BaseSerializer
include WithPagination include WithPagination
entity Vulnerabilities::OccurrenceReportsComparerEntity entity Vulnerabilities::FindingReportsComparerEntity
end end
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
require 'spec_helper' require 'spec_helper'
describe Vulnerabilities::OccurrenceReportsComparerEntity do describe Vulnerabilities::FindingReportsComparerEntity do
describe 'container scanning report comparison' do describe 'container scanning report comparison' do
let_it_be(:user) { create(:user) } let_it_be(:user) { create(:user) }
......
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