diff --git a/api/groups.go b/api/groups.go index f7122542..868bee86 100644 --- a/api/groups.go +++ b/api/groups.go @@ -273,6 +273,8 @@ type GroupsGetCatalogResponse struct { // GroupsGetCatalog returns communities list for a catalog category. // +// Deprecated: This method is deprecated and may be disabled soon, please avoid +// // https://vk.com/dev/groups.getCatalog func (vk *VK) GroupsGetCatalog(params Params) (response GroupsGetCatalogResponse, err error) { err = vk.RequestUnmarshal("groups.getCatalog", &response, params) diff --git a/api/groups_test.go b/api/groups_test.go index a793918c..6d8a6353 100644 --- a/api/groups_test.go +++ b/api/groups_test.go @@ -679,6 +679,7 @@ func TestVK_GroupsGetByID_private(t *testing.T) { func TestVK_GroupsGetCatalog(t *testing.T) { t.Parallel() + t.Skip("Deprecated: This method is deprecated and may be disabled soon, please avoid") needUserToken(t) res, err := vkUser.GroupsGetCatalog(api.Params{ diff --git a/api/market_test.go b/api/market_test.go index a9ca238c..baca60f7 100644 --- a/api/market_test.go +++ b/api/market_test.go @@ -389,6 +389,7 @@ func TestVK_MarketReportComment(t *testing.T) { func TestVK_MarketSearch(t *testing.T) { t.Parallel() + t.Skip("TODO: check vk bug") needUserToken(t) res, err := vkUser.MarketSearch(api.Params{ diff --git a/api/photos_test.go b/api/photos_test.go index e9151b95..01d7b129 100644 --- a/api/photos_test.go +++ b/api/photos_test.go @@ -358,7 +358,8 @@ func TestVK_PhotosGetOwnerCoverPhotoUploadServer(t *testing.T) { _, err := vkUser.PhotosGetOwnerCoverPhotoUploadServer(api.Params{ "group_id": vkGroupID, - "crop_y2": 266, + "crop_x2": 911, + "crop_y2": 364, }) noError(t, err) } diff --git a/api/podcasts_test.go b/api/podcasts_test.go index ebf79d21..988d4802 100644 --- a/api/podcasts_test.go +++ b/api/podcasts_test.go @@ -43,6 +43,7 @@ func TestVK_PodcastsGet(t *testing.T) { func TestVK_PodcastsMarkAsListened(t *testing.T) { t.Parallel() + t.Skip("2301 Podcasts is not available for this owner") needUserToken(t) _, err := vkUser.PodcastsMarkAsListened(api.Params{ @@ -55,6 +56,7 @@ func TestVK_PodcastsMarkAsListened(t *testing.T) { func TestVK_PodcastsSubscribe(t *testing.T) { t.Parallel() + t.Skip("104 Not found params") needUserToken(t) _, err := vkUser.PodcastsSubscribe(api.Params{ diff --git a/api/upload_test.go b/api/upload_test.go index a1eacef0..0638b42f 100644 --- a/api/upload_test.go +++ b/api/upload_test.go @@ -403,7 +403,7 @@ func TestVK_UploadOwnerCoverPhoto(t *testing.T) { } defer response.Body.Close() - _, err = vkGroup.UploadOwnerCoverPhoto(vkGroupID, 0, 0, 795, 266, response.Body) + _, err = vkGroup.UploadOwnerCoverPhoto(vkGroupID, 0, 0, 911, 364, response.Body) noError(t, err) } diff --git a/doc.go b/doc.go index a61bad7d..9862a5fe 100644 --- a/doc.go +++ b/doc.go @@ -7,6 +7,6 @@ package vksdk // Module constants. const ( - Version = "2.15.0" + Version = "2.16.0" API = "5.131" )