Upgrade to NeoFS API Go v2.12.0

Use new types instead of the deprecated ones.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2022-02-25 11:21:19 +03:00 committed by LeL
parent fa670ab57a
commit 4fba1af6aa
4 changed files with 35 additions and 35 deletions

View file

@ -166,7 +166,7 @@ func TestToken_Iat(t *testing.T) {
func TestNewTokenFromV2(t *testing.T) {
t.Run("from nil", func(t *testing.T) {
var x *sessionv2.SessionToken
var x *sessionv2.Token
require.Nil(t, session.NewTokenFromV2(x))
})