Commit 65756a48 authored by Mehmet Emin INAC's avatar Mehmet Emin INAC

Truncate the sample data to prevent validation failure

parent 48a963a1
......@@ -3,7 +3,7 @@
FactoryBot.define do
factory :dast_site_profile do
sequence :name do |i|
"#{FFaker::Product.product_name} - #{i}"
"#{FFaker::Product.product_name.truncate(200)} - #{i}"
end
before(:create) do |dast_site_profile|
......
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