Maintenance: Fixed test, timestamp issue with 2021 (Fixes #3356).

This commit is contained in:
Martin Edenhofer 2021-01-04 10:18:47 +01:00 committed by Thorsten Eckel
parent 88d4e534b2
commit a03edd31a6

View file

@ -58,7 +58,7 @@ RSpec.describe Trigger do
it 'interpolates date in selected locale format' do it 'interpolates date in selected locale format' do
time_in_zone = triggered_article.ticket.created_at.in_time_zone(time_zone) time_in_zone = triggered_article.ticket.created_at.in_time_zone(time_zone)
expect(triggered_article.body).to match(time_in_zone.strftime('%d.%m.%y')) expect(triggered_article.body).to match(time_in_zone.strftime('%d.%m.%Y'))
end end
end end