]> source.dussan.org Git - redmine.git/commitdiff
CalendarsControllerTest#test_show fails depending on the date (#31131).
authorGo MAEDA <maeda@farend.jp>
Sat, 27 Apr 2019 15:06:17 +0000 (15:06 +0000)
committerGo MAEDA <maeda@farend.jp>
Sat, 27 Apr 2019 15:06:17 +0000 (15:06 +0000)
Contributed by Mizuki ISHIKAWA.

git-svn-id: http://svn.redmine.org/redmine/trunk@18088 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/functional/calendars_controller_test.rb

index 69e0053adce778a8a0cfe73dba0194715b8e60f5..2652d7f4924695bf4ed306bf857b3057401e2c0e 100644 (file)
@@ -36,6 +36,10 @@ class CalendarsControllerTest < Redmine::ControllerTest
            :users, :email_addresses
 
   def test_show
+    # Ensure that an issue to which a user is assigned is in the current
+    # month's calendar in order to test Gravatar
+    travel_to issues(:issues_002).start_date
+
     with_settings :gravatar_enabled => '1' do
       get :show, :params => {
           :project_id => 1