Fixed test (just self seen time has changed).

This commit is contained in:
Martin Edenhofer 2016-02-24 08:05:03 +01:00
parent 44bff0055a
commit 3d372543b2

View file

@ -500,8 +500,8 @@ class OnlineNotificationTest < ActiveSupport::TestCase
user_id: agent_user1.id, user_id: agent_user1.id,
created_by_id: 1, created_by_id: 1,
updated_by_id: 1, updated_by_id: 1,
created_at: Time.zone.now - 5.months, created_at: Time.zone.now - 10.months,
updated_at: Time.zone.now - 5.months, updated_at: Time.zone.now - 10.months,
) )
online_notification2 = OnlineNotification.add( online_notification2 = OnlineNotification.add(
type: 'create', type: 'create',
@ -511,8 +511,8 @@ class OnlineNotificationTest < ActiveSupport::TestCase
user_id: agent_user1.id, user_id: agent_user1.id,
created_by_id: 1, created_by_id: 1,
updated_by_id: 1, updated_by_id: 1,
created_at: Time.zone.now - 5.months, created_at: Time.zone.now - 10.months,
updated_at: Time.zone.now - 5.months, updated_at: Time.zone.now - 10.months,
) )
online_notification3 = OnlineNotification.add( online_notification3 = OnlineNotification.add(
type: 'create', type: 'create',