Skip to content

Commit

Permalink
Severe cloud/test/foaf/example remove output (#240)
Browse files Browse the repository at this point in the history
* test(foaf): example remove

* test: more fix

* feat: update version
  • Loading branch information
SevereCloud authored Mar 2, 2023
1 parent c35ff52 commit 59827ec
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 3 deletions.
2 changes: 2 additions & 0 deletions api/groups.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions api/groups_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down
1 change: 1 addition & 0 deletions api/market_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down
3 changes: 2 additions & 1 deletion api/photos_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down
2 changes: 2 additions & 0 deletions api/podcasts_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand All @@ -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{
Expand Down
2 changes: 1 addition & 1 deletion api/upload_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down
2 changes: 1 addition & 1 deletion doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ package vksdk

// Module constants.
const (
Version = "2.15.0"
Version = "2.16.0"
API = "5.131"
)

0 comments on commit 59827ec

Please sign in to comment.