From b4d363e8fe59d01fbed9e855bf20cad949095f21 Mon Sep 17 00:00:00 2001 From: Alexander Zobnin Date: Wed, 31 Jan 2024 18:09:32 +0300 Subject: [PATCH] Chore: Fix broken anonymous devices test (#81649) --- pkg/services/anonymous/anonimpl/impl_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/services/anonymous/anonimpl/impl_test.go b/pkg/services/anonymous/anonimpl/impl_test.go index 51e28febacb..e3c93db2ff2 100644 --- a/pkg/services/anonymous/anonimpl/impl_test.go +++ b/pkg/services/anonymous/anonimpl/impl_test.go @@ -206,6 +206,8 @@ func TestIntegrationDeviceService_SearchDevice(t *testing.T) { Query: "", Page: 1, Limit: 1, + From: fixedTime, + To: fixedTime.Add(1 * time.Hour), }, expectedCount: 1, }, @@ -227,6 +229,8 @@ func TestIntegrationDeviceService_SearchDevice(t *testing.T) { Query: "192.1", Page: 1, Limit: 50, + From: fixedTime, + To: fixedTime.Add(1 * time.Hour), }, expectedCount: 1, expectedDevice: &anonstore.Device{