diff --git a/eacl/filter_test.go b/eacl/filter_test.go index a7a46d2a..74b9a109 100644 --- a/eacl/filter_test.go +++ b/eacl/filter_test.go @@ -4,7 +4,6 @@ import ( "strconv" "testing" - "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/acl" v2acl "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/acl" "github.com/stretchr/testify/require" ) @@ -83,8 +82,8 @@ func TestFilter_ToV2(t *testing.T) { require.Empty(t, filterV2.GetKey()) require.Empty(t, filterV2.GetValue()) - require.Equal(t, acl.HeaderTypeUnknown, filterV2.GetHeaderType()) - require.Equal(t, acl.MatchTypeUnknown, filterV2.GetMatchType()) + require.Equal(t, v2acl.HeaderTypeUnknown, filterV2.GetHeaderType()) + require.Equal(t, v2acl.MatchTypeUnknown, filterV2.GetMatchType()) }) t.Run("reserved types", func(t *testing.T) { diff --git a/eacl/target_test.go b/eacl/target_test.go index 55617f61..e2261940 100644 --- a/eacl/target_test.go +++ b/eacl/target_test.go @@ -4,7 +4,6 @@ import ( "crypto/ecdsa" "testing" - "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/acl" v2acl "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/acl" "github.com/nspcc-dev/neo-go/pkg/crypto/keys" "github.com/stretchr/testify/require" @@ -79,7 +78,7 @@ func TestTarget_ToV2(t *testing.T) { // convert to v2 message targetV2 := target.ToV2() - require.Equal(t, acl.RoleUnknown, targetV2.GetRole()) + require.Equal(t, v2acl.RoleUnknown, targetV2.GetRole()) require.Nil(t, targetV2.GetKeys()) }) }