diff --git a/test/unit/ticket_overview_test.rb b/test/unit/ticket_overview_test.rb index 3f49d40ec..de881b401 100644 --- a/test/unit/ticket_overview_test.rb +++ b/test/unit/ticket_overview_test.rb @@ -549,7 +549,6 @@ class TicketOverviewTest < ActiveSupport::TestCase assert(result[2][:tickets].empty?) travel_to Time.zone.now + 1.second # because of mysql millitime issues - ticket3 = Ticket.create( title: 'overview test 3', group: Group.lookup(name: 'OverviewTest'), @@ -572,6 +571,7 @@ class TicketOverviewTest < ActiveSupport::TestCase updated_by_id: 1, created_by_id: 1, ) + travel_back result = Ticket::Overviews.index(agent1) assert_equal(result[0][:overview][:id], overview1.id)