diff options
author | Go MAEDA <maeda@farend.jp> | 2023-12-11 09:20:06 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2023-12-11 09:20:06 +0000 |
commit | 9935af7e019c4b833fa4fbfeb743044af36b877c (patch) | |
tree | 55845850398b85b554e253528d8a0b30b31d94c8 /test/unit/user_test.rb | |
parent | 21423d4b7f49284ea4f76afe1939fdc2693d5742 (diff) | |
download | redmine-9935af7e019c4b833fa4fbfeb743044af36b877c.tar.gz redmine-9935af7e019c4b833fa4fbfeb743044af36b877c.zip |
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
Diffstat (limited to 'test/unit/user_test.rb')
-rw-r--r-- | test/unit/user_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/user_test.rb b/test/unit/user_test.rb index 823365842..e89381a68 100644 --- a/test/unit/user_test.rb +++ b/test/unit/user_test.rb @@ -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 |