Expected false to be truthy
This commit is contained in:
parent
16beb8ddbe
commit
9cd943f056
@ -179,7 +179,7 @@ class DmsfMailer < Mailer
|
||||
puts ">>> nok1"
|
||||
false
|
||||
elsif notify_member.dmsf_mail_notification.nil?
|
||||
puts ">>> #{notify_user.mail_notification}"
|
||||
puts ">>> notify_member.mail_notification: #{notify_member.mail_notification}"
|
||||
case notify_user.mail_notification
|
||||
when 'all'
|
||||
puts ">>> ok3"
|
||||
|
||||
@ -105,8 +105,8 @@ class DmsfMailerTest < RedmineDmsf::Test::UnitTest
|
||||
|
||||
def test_get_notify_users
|
||||
with_settings notified_events: ['dmsf_legacy_notifications'] do
|
||||
puts ">>> #{Setting.notified_events}"
|
||||
puts ">>> #{@file1.notify?}"
|
||||
puts ">>> Setting.notified_events: #{Setting.notified_events}"
|
||||
puts ">>> @file1.notify?: #{@file1.notify?}"
|
||||
users = DmsfMailer.get_notify_users(@project1, @file1)
|
||||
assert users.present?
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user