forked from TrueCloudLab/frostfs-sdk-go
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:
parent
fa670ab57a
commit
4fba1af6aa
4 changed files with 35 additions and 35 deletions
|
@ -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))
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue