# Copyright (C) 2012-2021 Zammad Foundation, http://zammad-foundation.org/ FactoryBot.define do factory :email_address do association :channel, factory: :email_channel sequence(:email) { |n| "zammad#{n}@localhost.com" } sequence(:realname) { |n| "zammad#{n}" } created_by_id { 1 } updated_by_id { 1 } end end