You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-06-23 00:38:51 +02:00
Переработка тестов для Yandex Disk
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
|
||||
Image1 = "https://openintegrations.dev/test_data/picture.jpg"; // URL, Path to file or binary Data
|
||||
Image2 = "https://openintegrations.dev/test_data/picture2.jpg"; // URL, Path to file or binary Data
|
||||
Selection = "125";
|
||||
Selection = "122";
|
||||
|
||||
ImageArray = New Array;
|
||||
ImageArray.Add(Image1);
|
||||
|
@ -1,6 +1,6 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Property = "648";
|
||||
Property = "682";
|
||||
OptionArray = New Array;
|
||||
OptionArray.Add("Yellow");
|
||||
OptionArray.Add("Blue");
|
||||
|
@ -1,6 +1,6 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Product = "9372711";
|
||||
Selection = "125";
|
||||
Product = "9441427";
|
||||
Selection = "122";
|
||||
|
||||
Result = OPI_VK.AddProductToCollection(Product, Selection, Parameters);
|
||||
|
@ -1,3 +1,3 @@
|
||||
Parameters = GetVKParameters();
|
||||
DiscussionID = "51798392";
|
||||
DiscussionID = "51959540";
|
||||
Result = OPI_VK.CloseDiscussion(DiscussionID, False, Parameters);
|
||||
|
@ -1,9 +1,9 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
CampaignNumber = "1030425511";
|
||||
CampaignNumber = "1030466671";
|
||||
DailyLimit = 150;
|
||||
CategoryNumber = 126;
|
||||
PostID = "3356";
|
||||
PostID = "3529";
|
||||
AccountID = "1607951446";
|
||||
|
||||
Result = OPI_VK.CreateAd(CampaignNumber
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
Image1 = "https://openintegrations.dev/test_data/picture.jpg";
|
||||
Image2 = "https://openintegrations.dev/test_data/picture2.jpg";
|
||||
PropVariant1 = "2054";
|
||||
PropVariant2 = "2055";
|
||||
PropVariant1 = "2138";
|
||||
PropVariant2 = "2139";
|
||||
|
||||
ImageArray = New Array;
|
||||
ImageArray.Add(Image1);
|
||||
|
@ -1,4 +1,4 @@
|
||||
Parameters = GetVKParameters();
|
||||
AlbumID = "305187504";
|
||||
AlbumID = "305362578";
|
||||
|
||||
Result = OPI_VK.DeleteAlbum(AlbumID, Parameters);
|
||||
|
@ -1,5 +1,5 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Selection = "125";
|
||||
Selection = "122";
|
||||
|
||||
Result = OPI_VK.DeleteSelection(Selection, Parameters);
|
||||
|
@ -1,4 +1,4 @@
|
||||
Parameters = GetVKParameters();
|
||||
ImageID = "457246566";
|
||||
ImageID = "457246923";
|
||||
|
||||
Result = OPI_VK.DeleteImage(ImageID, Parameters);
|
||||
|
@ -1,4 +1,4 @@
|
||||
Parameters = GetVKParameters();
|
||||
PostID = "3356";
|
||||
PostID = "3529";
|
||||
|
||||
Result = OPI_VK.DeletePost(PostID, Parameters);
|
||||
|
@ -1,5 +1,5 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Product = "9372711";
|
||||
Product = "9441427";
|
||||
|
||||
Result = OPI_VK.DeleteProduct(Product, Parameters);
|
||||
|
@ -1,5 +1,5 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Property = "648";
|
||||
Property = "682";
|
||||
|
||||
Result = OPI_VK.DeleteProductProperty(Property, Parameters);
|
||||
|
@ -1,6 +1,6 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Option = "2054";
|
||||
Option = "2138";
|
||||
|
||||
Result = OPI_VK.DeleteProductPropertyVariant(Option, Parameters);
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Product = "9372711";
|
||||
Product = "9441427";
|
||||
|
||||
ProductDescription = New Map;
|
||||
ProductDescription.Insert("Name", "EditedTestProduct");
|
||||
|
@ -1,6 +1,6 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Name = "Color (change.)";
|
||||
Property = "648";
|
||||
Property = "682";
|
||||
|
||||
Result = OPI_VK.EditProductProperty(Name, Property, Parameters);
|
||||
|
@ -1,7 +1,7 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Property = "648";
|
||||
Option = "2054";
|
||||
Property = "682";
|
||||
Option = "2138";
|
||||
Value = "New variant name";
|
||||
|
||||
Result = OPI_VK.EditProductPropertyVariant(Value
|
||||
|
@ -1,7 +1,7 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Item1 = "9372712";
|
||||
Item2 = "9372714";
|
||||
Item1 = "9441430";
|
||||
Item2 = "9441431";
|
||||
|
||||
ProductsArray = New Array;
|
||||
ProductsArray.Add(Item1);
|
||||
|
@ -1,7 +1,7 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Item1 = "9372712";
|
||||
Item2 = "9372714";
|
||||
Item1 = "9441430";
|
||||
Item2 = "9441431";
|
||||
|
||||
ProductsArray = New Array;
|
||||
ProductsArray.Add(Item1);
|
||||
|
@ -1,4 +1,4 @@
|
||||
Parameters = GetVKParameters();
|
||||
PostID = "3356";
|
||||
PostID = "3529";
|
||||
|
||||
Result = OPI_VK.LikePost(PostID, , Parameters);
|
||||
|
@ -1,3 +1,3 @@
|
||||
Parameters = GetVKParameters();
|
||||
DiscussionID = "51798392";
|
||||
DiscussionID = "51959540";
|
||||
Result = OPI_VK.OpenDiscussion(DiscussionID, Parameters);
|
||||
|
@ -1,5 +1,5 @@
|
||||
Parameters = GetVKParameters();
|
||||
DiscussionID = "51798392";
|
||||
DiscussionID = "51959540";
|
||||
Message = "I like yellow more";
|
||||
|
||||
Result = OPI_VK.WriteInDiscussion(DiscussionID, Message, Parameters);
|
||||
|
@ -1,6 +1,6 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Product = "9372711";
|
||||
Selection = "125";
|
||||
Product = "9441427";
|
||||
Selection = "122";
|
||||
|
||||
Result = OPI_VK.RemoveProductFromSelection(Product, Selection, Parameters);
|
||||
|
@ -1,6 +1,6 @@
|
||||
Parameters = GetVKParameters();
|
||||
ImageDescription = "AutoTestImage";
|
||||
AlbumID = "305187504";
|
||||
AlbumID = "305362578";
|
||||
|
||||
Image = "https://openintegrations.dev/test_data/picture.jpg"; // URL, Path to file or Binary Data
|
||||
TFN = GetTempFileName("png");
|
||||
|
@ -1,6 +1,6 @@
|
||||
Parameters = GetVKParameters();
|
||||
Text = "NewComment";
|
||||
PostID = "3356";
|
||||
PostID = "3529";
|
||||
WallID = Parameters["owner_id"];
|
||||
|
||||
Result = OPI_VK.WriteComment(PostID, WallID, Text, Parameters);
|
||||
|
Reference in New Issue
Block a user