[#128] *: Use correct aliases for object testing

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
Pavel Karpy 2022-02-01 13:15:12 +03:00 committed by Alex Vanin
parent 41f17d1a09
commit 6d3d91f889
8 changed files with 25 additions and 25 deletions

View file

@ -4,7 +4,7 @@ import (
"testing"
v2session "github.com/nspcc-dev/neofs-api-go/v2/session"
objecttest "github.com/nspcc-dev/neofs-sdk-go/object/address/test"
addresstest "github.com/nspcc-dev/neofs-sdk-go/object/address/test"
"github.com/nspcc-dev/neofs-sdk-go/session"
sessiontest "github.com/nspcc-dev/neofs-sdk-go/session/test"
"github.com/stretchr/testify/require"
@ -52,7 +52,7 @@ func TestObjectContextVerbs(t *testing.T) {
func TestObjectContext_ApplyTo(t *testing.T) {
c := session.NewObjectContext()
id := objecttest.Address()
id := addresstest.Address()
t.Run("method", func(t *testing.T) {
c.ApplyTo(id)

View file

@ -3,7 +3,7 @@ package sessiontest
import (
"math/rand"
oidtest "github.com/nspcc-dev/neofs-sdk-go/object/address/test"
addresstest "github.com/nspcc-dev/neofs-sdk-go/object/address/test"
"github.com/nspcc-dev/neofs-sdk-go/session"
)
@ -24,7 +24,7 @@ func ObjectContext() *session.ObjectContext {
setters[rand.Uint32()%uint32(len(setters))]()
c.ApplyTo(oidtest.Address())
c.ApplyTo(addresstest.Address())
return c
}