]> source.dussan.org Git - redmine.git/commitdiff
4.0-stable: add missing fixture added in trunk r17725
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 30 Sep 2019 13:36:58 +0000 (13:36 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 30 Sep 2019 13:36:58 +0000 (13:36 +0000)
git-svn-id: http://svn.redmine.org/redmine/branches/4.0-stable@18573 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/functional/issues_controller_test.rb

index 2b9cd978e82d9202c297effbbd59f6ddbf20a504..f93c61b1f58850ddfeac61875e919b0850d4e0d4 100644 (file)
@@ -43,7 +43,8 @@ class IssuesControllerTest < Redmine::ControllerTest
            :journal_details,
            :queries,
            :repositories,
-           :changesets
+           :changesets,
+           :watchers
 
   include Redmine::I18n
 
@@ -5671,6 +5672,8 @@ class IssuesControllerTest < Redmine::ControllerTest
           }
         }
       assert_response 302
+      # 4 emails for 2 members and 2 issues
+      # 1 email for a watcher of issue #2
       assert_equal 5, ActionMailer::Base.deliveries.size
     end
   end