summaryrefslogtreecommitdiff
path: root/spec/factories/plan_limits.rb
blob: b5921c1b3111c04308056b676e2eccd0e7287351 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# frozen_string_literal: true

FactoryBot.define do
  factory :plan_limits do
    plan

    dast_profile_schedules { 50 }

    trait :default_plan do
      plan factory: :default_plan
    end

    trait :with_package_file_sizes do
      conan_max_file_size { 100 }
      maven_max_file_size { 100 }
      npm_max_file_size { 100 }
      nuget_max_file_size { 100 }
      pypi_max_file_size { 100 }
      generic_packages_max_file_size { 100 }
    end
  end
end