From: Go MAEDA Date: Sat, 27 Apr 2019 15:06:17 +0000 (+0000) Subject: CalendarsControllerTest#test_show fails depending on the date (#31131). X-Git-Tag: 4.1.0~946 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=904e77e8a0f36ae2730b4c3c5b722de7d6d4c019;p=redmine.git CalendarsControllerTest#test_show fails depending on the date (#31131). Contributed by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@18088 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/test/functional/calendars_controller_test.rb b/test/functional/calendars_controller_test.rb index 69e0053ad..2652d7f49 100644 --- a/test/functional/calendars_controller_test.rb +++ b/test/functional/calendars_controller_test.rb @@ -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