From 904e77e8a0f36ae2730b4c3c5b722de7d6d4c019 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Sat, 27 Apr 2019 15:06:17 +0000 Subject: 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 --- test/functional/calendars_controller_test.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/functional/calendars_controller_test.rb') 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 -- cgit v1.2.3