generated from VLADIMIR/template
add stat and fix get place
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package tests
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
func Test_StoryStatistics(t *testing.T) {
|
||||
client, close := getClient()
|
||||
defer close()
|
||||
|
||||
getGraphResp, err := getGraph(client)
|
||||
assert.Nil(t, err, "запрос отправлен успешно")
|
||||
|
||||
assert.Equal(t, 5, int(getGraphResp.CountNodes))
|
||||
assert.Equal(t, 3, int(getGraphResp.CountEdges))
|
||||
}
|
||||
Reference in New Issue
Block a user