Просмотр исходного кода

Fixed test (just self seen time has changed).

Martin Edenhofer 9 лет назад
Родитель
Сommit
3d372543b2
1 измененных файлов с 4 добавлено и 4 удалено
  1. 4 4
      test/unit/online_notifiaction_test.rb

+ 4 - 4
test/unit/online_notifiaction_test.rb

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