Code cleanup.
This commit is contained in:
parent
b7597123fd
commit
6c3dc608ab
3 changed files with 15 additions and 15 deletions
4
test/fixtures/seeds.rb
vendored
4
test/fixtures/seeds.rb
vendored
|
@ -5,10 +5,10 @@
|
|||
channel_id = nil
|
||||
channel = Channel.find_by(area: 'Email::Notification', active: true)
|
||||
if channel
|
||||
channel_id = channel
|
||||
channel_id = channel.id
|
||||
end
|
||||
|
||||
email_address = EmailAddress.create_if_not_exists(
|
||||
email_address = EmailAddress.create_or_update(
|
||||
realname: 'Zammad',
|
||||
email: 'zammad@localhost',
|
||||
channel_id: channel_id,
|
||||
|
|
Loading…
Reference in a new issue