Welcome to mirror list, hosted at ThFree Co, Russian Federation.

links.rb « security « reports « ci « factories « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 77af827e7be146573dc6cde06a2cc0e16d261a04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# frozen_string_literal: true

FactoryBot.define do
  factory :ci_reports_security_link, class: '::Gitlab::Ci::Reports::Security::Link' do
    name { 'CVE-2020-0202' }
    url { 'https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-0202' }

    skip_create

    initialize_with do
      ::Gitlab::Ci::Reports::Security::Link.new(**attributes)
    end
  end
end