diff --git a/pkg/acl/eacl/filter_test.go b/pkg/acl/eacl/filter_test.go index 17806c2..a38d392 100644 --- a/pkg/acl/eacl/filter_test.go +++ b/pkg/acl/eacl/filter_test.go @@ -3,7 +3,6 @@ package eacl import ( "testing" - "github.com/nspcc-dev/neofs-api-go/pkg/object" v2acl "github.com/nspcc-dev/neofs-api-go/v2/acl" "github.com/stretchr/testify/require" ) @@ -11,7 +10,7 @@ import ( func TestFilter(t *testing.T) { filter := &Filter{ from: HeaderFromObject, - name: object.HdrSysNamePayloadLength, + name: "some name", matcher: MatchStringEqual, value: "200", } diff --git a/pkg/acl/eacl/record_test.go b/pkg/acl/eacl/record_test.go index 1ed7263..c91042c 100644 --- a/pkg/acl/eacl/record_test.go +++ b/pkg/acl/eacl/record_test.go @@ -4,7 +4,6 @@ import ( "crypto/ecdsa" "testing" - "github.com/nspcc-dev/neofs-api-go/pkg/object" v2acl "github.com/nspcc-dev/neofs-api-go/v2/acl" "github.com/nspcc-dev/neofs-crypto/test" "github.com/stretchr/testify/require" @@ -63,7 +62,7 @@ func TestRecord_AddFilter(t *testing.T) { filters := []Filter{ { from: HeaderFromObject, - name: object.HdrSysNameCID, + name: "some name", matcher: MatchStringEqual, value: "ContainerID", },