2021-06-01 12:20:20 +00:00
|
|
|
# Copyright (C) 2012-2021 Zammad Foundation, http://zammad-foundation.org/
|
|
|
|
|
2018-05-23 10:25:11 +00:00
|
|
|
FactoryBot.define do
|
|
|
|
factory :email_address do
|
2019-02-07 14:46:16 +00:00
|
|
|
association :channel, factory: :email_channel
|
|
|
|
sequence(:email) { |n| "zammad#{n}@localhost.com" }
|
2018-09-19 13:54:49 +00:00
|
|
|
sequence(:realname) { |n| "zammad#{n}" }
|
2019-02-07 14:46:16 +00:00
|
|
|
created_by_id { 1 }
|
|
|
|
updated_by_id { 1 }
|
2018-05-23 10:25:11 +00:00
|
|
|
end
|
|
|
|
end
|