forked from TrueCloudLab/neoneo-go
rpcsrv: fix test
client_test.go:1935:
Error Trace: /home/rik/dev/neo-go/pkg/services/rpcsrv/client_test.go:1935
Error: Should NOT be empty, but was 00000000-0000-0000-0000-000000000000
Test: TestClient_Iterator_SessionConfigVariations/sessions_disabled
It's obviously empty, since we have sessions disabled, but it was not
considered to be empty in testify 1.7.0, now it is, see 840cb80149
This commit is contained in:
parent
40f1056d43
commit
1e07cacc79
1 changed files with 1 additions and 1 deletions
|
@ -1932,7 +1932,7 @@ func TestClient_Iterator_SessionConfigVariations(t *testing.T) {
|
|||
// We expect unpacked iterator values to be present on stack under InteropInterface cover.
|
||||
res, err := c.InvokeFunction(storageHash, "iterateOverValues", []smartcontract.Parameter{}, nil)
|
||||
require.NoError(t, err)
|
||||
require.NotEmpty(t, res.Session)
|
||||
require.Empty(t, res.Session)
|
||||
require.Equal(t, 1, len(res.Stack))
|
||||
require.Equal(t, stackitem.InteropT, res.Stack[0].Type())
|
||||
iterator, ok := res.Stack[0].Value().(result.Iterator)
|
||||
|
|
Loading…
Reference in a new issue