summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/unit/lib/redmine/helpers/calendar_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/lib/redmine/helpers/calendar_test.rb b/test/unit/lib/redmine/helpers/calendar_test.rb
index f0ac67881..54de986ab 100644
--- a/test/unit/lib/redmine/helpers/calendar_test.rb
+++ b/test/unit/lib/redmine/helpers/calendar_test.rb
@@ -46,7 +46,7 @@ class CalendarTest < ActiveSupport::TestCase
with_settings :start_of_week => day do
c = Redmine::Helpers::Calendar.new(Date.today, :en, :month)
assert_equal day , c.startdt.cwday
- assert_equal (day + 5) % 7, c.enddt.cwday
+ assert_equal (day + 5) % 7 + 1, c.enddt.cwday
end
end
end