diff --git a/api/cache/objects_test.go b/api/cache/objects_test.go index 5136be68e..2cbf1271d 100644 --- a/api/cache/objects_test.go +++ b/api/cache/objects_test.go @@ -7,12 +7,14 @@ import ( oid "github.com/nspcc-dev/neofs-sdk-go/object/id" objecttest "github.com/nspcc-dev/neofs-sdk-go/object/test" "github.com/stretchr/testify/require" + "go.uber.org/zap" ) func getTestConfig() *Config { return &Config{ Size: 10, Lifetime: 5 * time.Second, + Logger: zap.NewExample(), } } diff --git a/api/cache/objectslist_test.go b/api/cache/objectslist_test.go index 87ba26915..672869c8e 100644 --- a/api/cache/objectslist_test.go +++ b/api/cache/objectslist_test.go @@ -8,6 +8,7 @@ import ( oid "github.com/nspcc-dev/neofs-sdk-go/object/id" oidtest "github.com/nspcc-dev/neofs-sdk-go/object/id/test" "github.com/stretchr/testify/require" + "go.uber.org/zap" ) const testingCacheLifetime = 5 * time.Second @@ -17,6 +18,7 @@ func getTestObjectsListConfig() *Config { return &Config{ Size: testingCacheSize, Lifetime: testingCacheLifetime, + Logger: zap.NewExample(), } }