email_address.rb 357 B

123456789101112
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. FactoryBot.define do
  3. factory :email_address do
  4. channel factory: %i[email_channel]
  5. sequence(:email) { |n| "zammad#{n}@localhost.com" }
  6. sequence(:name) { |n| "zammad#{n}" }
  7. active { true }
  8. created_by_id { 1 }
  9. updated_by_id { 1 }
  10. end
  11. end