Change the default notification option from only_my_events to only_assigned (#39500).

Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22512 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA
2023-12-11 09:20:06 +00:00
parent 21423d4b7f
commit 9935af7e01
5 changed files with 18 additions and 6 deletions

View File

@@ -192,7 +192,7 @@ class UserTest < ActiveSupport::TestCase
def test_user_before_create_should_set_the_mail_notification_to_the_default_setting
user1 = User.generate!
assert_equal 'only_my_events', user1.mail_notification
assert_equal 'only_assigned', user1.mail_notification
with_settings :default_notification_option => 'all' do
user2 = User.generate!
assert_equal 'all', user2.mail_notification