test: TestVK_AccountBan sleep
@@ -2,6 +2,7 @@ package api_test
import (
"testing"
+ "time"
"github.com/SevereCloud/vksdk/api"
"github.com/stretchr/testify/assert"
@@ -20,6 +21,8 @@ func TestVK_AccountBan(t *testing.T) {
})
noError(t, err)
+ time.Sleep(2 * time.Second)
+
res, err := vkUser.AccountGetBanned(api.Params{})
noError(t, err)
assert.NotEmpty(t, res.Count)
