You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-07-17 01:42:25 +02:00
Доработки по пропущенным тестам
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
|
||||
Image1 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg"; // URL, Binary or Path to file
|
||||
Image2 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture2.jpg"; // URL, Binary or Path to file
|
||||
Selection = "121";
|
||||
Selection = "123";
|
||||
|
||||
ImageArray = New Array;
|
||||
ImageArray.Add(Image1);
|
||||
|
@ -1,6 +1,6 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Property = "809";
|
||||
Property = "820";
|
||||
OptionArray = New Array;
|
||||
OptionArray.Add("Yellow");
|
||||
OptionArray.Add("Blue");
|
||||
|
@ -1,6 +1,6 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Product = "9639517";
|
||||
Selection = "121";
|
||||
Product = "9642666";
|
||||
Selection = "123";
|
||||
|
||||
Result = OPI_VK.AddProductToCollection(Product, Selection, Parameters);
|
||||
|
@ -1,3 +1,3 @@
|
||||
Parameters = GetVKParameters();
|
||||
DiscussionID = "52467552";
|
||||
DiscussionID = "52490631";
|
||||
Result = OPI_VK.CloseDiscussion(DiscussionID, False, Parameters);
|
||||
|
@ -1,9 +1,9 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
CampaignNumber = "1030667319";
|
||||
CampaignNumber = "1030671569";
|
||||
DailyLimit = 150;
|
||||
CategoryNumber = 126;
|
||||
PostID = "4272";
|
||||
PostID = "4353";
|
||||
AccountID = "1607951446";
|
||||
|
||||
Result = OPI_VK.CreateAd(CampaignNumber
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
Image1 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg";
|
||||
Image2 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture2.jpg";
|
||||
PropVariant1 = "2450";
|
||||
PropVariant2 = "2451";
|
||||
PropVariant1 = "2477";
|
||||
PropVariant2 = "2478";
|
||||
|
||||
ImageArray = New Array;
|
||||
ImageArray.Add(Image1);
|
||||
|
@ -1,4 +1,4 @@
|
||||
Parameters = GetVKParameters();
|
||||
AlbumID = "305905563";
|
||||
AlbumID = "305922871";
|
||||
|
||||
Result = OPI_VK.DeleteAlbum(AlbumID, Parameters);
|
||||
|
@ -1,5 +1,5 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Selection = "121";
|
||||
Selection = "123";
|
||||
|
||||
Result = OPI_VK.DeleteSelection(Selection, Parameters);
|
||||
|
@ -1,4 +1,4 @@
|
||||
Parameters = GetVKParameters();
|
||||
ImageID = "457248471";
|
||||
ImageID = "457248642";
|
||||
|
||||
Result = OPI_VK.DeleteImage(ImageID, Parameters);
|
||||
|
@ -1,4 +1,4 @@
|
||||
Parameters = GetVKParameters();
|
||||
PostID = "4272";
|
||||
PostID = "4353";
|
||||
|
||||
Result = OPI_VK.DeletePost(PostID, Parameters);
|
||||
|
@ -1,5 +1,5 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Product = "9639517";
|
||||
Product = "9642666";
|
||||
|
||||
Result = OPI_VK.DeleteProduct(Product, Parameters);
|
||||
|
@ -1,5 +1,5 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Property = "809";
|
||||
Property = "820";
|
||||
|
||||
Result = OPI_VK.DeleteProductProperty(Property, Parameters);
|
||||
|
@ -1,6 +1,6 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Option = "2450";
|
||||
Option = "2477";
|
||||
|
||||
Result = OPI_VK.DeleteProductPropertyVariant(Option, Parameters);
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Product = "9639517";
|
||||
Product = "9642666";
|
||||
|
||||
ProductDescription = New Map;
|
||||
ProductDescription.Insert("Name", "EditedTestProduct");
|
||||
|
@ -1,7 +1,7 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Name = "EditedCollection";
|
||||
Selection = "121";
|
||||
Selection = "123";
|
||||
|
||||
Result = OPI_VK.EditProductCollection(Name, Selection, , , , Parameters);
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Name = "Color (change.)";
|
||||
Property = "809";
|
||||
Property = "820";
|
||||
|
||||
Result = OPI_VK.EditProductProperty(Name, Property, Parameters);
|
||||
|
@ -1,7 +1,7 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Property = "809";
|
||||
Option = "2450";
|
||||
Property = "820";
|
||||
Option = "2477";
|
||||
Value = "New variant name";
|
||||
|
||||
Result = OPI_VK.EditProductPropertyVariant(Value
|
||||
|
@ -1,7 +1,7 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Item1 = "9639557";
|
||||
Item2 = "9639562";
|
||||
Item1 = "9642668";
|
||||
Item2 = "9642669";
|
||||
|
||||
ProductsArray = New Array;
|
||||
ProductsArray.Add(Item1);
|
||||
|
@ -1,7 +1,7 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Item1 = "9639557";
|
||||
Item2 = "9639562";
|
||||
Item1 = "9642668";
|
||||
Item2 = "9642669";
|
||||
|
||||
ProductsArray = New Array;
|
||||
ProductsArray.Add(Item1);
|
||||
|
@ -1,4 +1,4 @@
|
||||
Parameters = GetVKParameters();
|
||||
PostID = "4272";
|
||||
PostID = "4353";
|
||||
|
||||
Result = OPI_VK.LikePost(PostID, , Parameters);
|
||||
|
@ -1,3 +1,3 @@
|
||||
Parameters = GetVKParameters();
|
||||
DiscussionID = "52467552";
|
||||
DiscussionID = "52490631";
|
||||
Result = OPI_VK.OpenDiscussion(DiscussionID, Parameters);
|
||||
|
@ -1,5 +1,5 @@
|
||||
Parameters = GetVKParameters();
|
||||
DiscussionID = "52467552";
|
||||
DiscussionID = "52490631";
|
||||
Message = "I like yellow more";
|
||||
|
||||
Result = OPI_VK.WriteInDiscussion(DiscussionID, Message, Parameters);
|
||||
|
@ -1,6 +1,6 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Product = "9639517";
|
||||
Selection = "121";
|
||||
Product = "9642666";
|
||||
Selection = "123";
|
||||
|
||||
Result = OPI_VK.RemoveProductFromSelection(Product, Selection, Parameters);
|
||||
|
@ -1,6 +1,6 @@
|
||||
Parameters = GetVKParameters();
|
||||
ImageDescription = "AutoTestImage";
|
||||
AlbumID = "305905563";
|
||||
AlbumID = "305922871";
|
||||
|
||||
Image = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg"; // URL, Path to file or Binary Data
|
||||
TFN = GetTempFileName("png");
|
||||
|
@ -1,6 +1,6 @@
|
||||
Parameters = GetVKParameters();
|
||||
Text = "NewComment";
|
||||
PostID = "4272";
|
||||
PostID = "4353";
|
||||
WallID = Parameters["owner_id"];
|
||||
|
||||
Result = OPI_VK.WriteComment(PostID, WallID, Text, Parameters);
|
||||
|
Reference in New Issue
Block a user