1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-07-17 01:42:25 +02:00

Доработки по пропущенным тестам

This commit is contained in:
Anton
2024-09-29 19:31:54 +03:00
parent 79a60b47e4
commit 508cf5fa58
617 changed files with 6371 additions and 6006 deletions

View File

@ -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);

View File

@ -1,6 +1,6 @@
 Parameters = GetVKParameters();
Property = "809";
Property = "820";
OptionArray = New Array;
OptionArray.Add("Yellow");
OptionArray.Add("Blue");

View File

@ -1,6 +1,6 @@
 Parameters = GetVKParameters();
Product = "9639517";
Selection = "121";
Product = "9642666";
Selection = "123";
Result = OPI_VK.AddProductToCollection(Product, Selection, Parameters);

View File

@ -1,3 +1,3 @@
 Parameters = GetVKParameters();
DiscussionID = "52467552";
DiscussionID = "52490631";
Result = OPI_VK.CloseDiscussion(DiscussionID, False, Parameters);

View File

@ -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

View File

@ -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);

View File

@ -1,4 +1,4 @@
 Parameters = GetVKParameters();
AlbumID = "305905563";
AlbumID = "305922871";
Result = OPI_VK.DeleteAlbum(AlbumID, Parameters);

View File

@ -1,5 +1,5 @@
 Parameters = GetVKParameters();
Selection = "121";
Selection = "123";
Result = OPI_VK.DeleteSelection(Selection, Parameters);

View File

@ -1,4 +1,4 @@
 Parameters = GetVKParameters();
ImageID = "457248471";
ImageID = "457248642";
Result = OPI_VK.DeleteImage(ImageID, Parameters);

View File

@ -1,4 +1,4 @@
 Parameters = GetVKParameters();
PostID = "4272";
PostID = "4353";
Result = OPI_VK.DeletePost(PostID, Parameters);

View File

@ -1,5 +1,5 @@
 Parameters = GetVKParameters();
Product = "9639517";
Product = "9642666";
Result = OPI_VK.DeleteProduct(Product, Parameters);

View File

@ -1,5 +1,5 @@
 Parameters = GetVKParameters();
Property = "809";
Property = "820";
Result = OPI_VK.DeleteProductProperty(Property, Parameters);

View File

@ -1,6 +1,6 @@
 Parameters = GetVKParameters();
Option = "2450";
Option = "2477";
Result = OPI_VK.DeleteProductPropertyVariant(Option, Parameters);

View File

@ -1,6 +1,6 @@
 Parameters = GetVKParameters();
Product = "9639517";
Product = "9642666";
ProductDescription = New Map;
ProductDescription.Insert("Name", "EditedTestProduct");

View File

@ -1,7 +1,7 @@
 Parameters = GetVKParameters();
Name = "EditedCollection";
Selection = "121";
Selection = "123";
Result = OPI_VK.EditProductCollection(Name, Selection, , , , Parameters);

View File

@ -1,6 +1,6 @@
 Parameters = GetVKParameters();
Name = "Color (change.)";
Property = "809";
Property = "820";
Result = OPI_VK.EditProductProperty(Name, Property, Parameters);

View File

@ -1,7 +1,7 @@
 Parameters = GetVKParameters();
Property = "809";
Option = "2450";
Property = "820";
Option = "2477";
Value = "New variant name";
Result = OPI_VK.EditProductPropertyVariant(Value

View File

@ -1,7 +1,7 @@
 Parameters = GetVKParameters();
Item1 = "9639557";
Item2 = "9639562";
Item1 = "9642668";
Item2 = "9642669";
ProductsArray = New Array;
ProductsArray.Add(Item1);

View File

@ -1,7 +1,7 @@
 Parameters = GetVKParameters();
Item1 = "9639557";
Item2 = "9639562";
Item1 = "9642668";
Item2 = "9642669";
ProductsArray = New Array;
ProductsArray.Add(Item1);

View File

@ -1,4 +1,4 @@
 Parameters = GetVKParameters();
PostID = "4272";
PostID = "4353";
Result = OPI_VK.LikePost(PostID, , Parameters);

View File

@ -1,3 +1,3 @@
 Parameters = GetVKParameters();
DiscussionID = "52467552";
DiscussionID = "52490631";
Result = OPI_VK.OpenDiscussion(DiscussionID, Parameters);

View File

@ -1,5 +1,5 @@
 Parameters = GetVKParameters();
DiscussionID = "52467552";
DiscussionID = "52490631";
Message = "I like yellow more";
Result = OPI_VK.WriteInDiscussion(DiscussionID, Message, Parameters);

View File

@ -1,6 +1,6 @@
 Parameters = GetVKParameters();
Product = "9639517";
Selection = "121";
Product = "9642666";
Selection = "123";
Result = OPI_VK.RemoveProductFromSelection(Product, Selection, Parameters);

View File

@ -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");

View File

@ -1,6 +1,6 @@
 Parameters = GetVKParameters();
Text = "NewComment";
PostID = "4272";
PostID = "4353";
WallID = Parameters["owner_id"];
Result = OPI_VK.WriteComment(PostID, WallID, Text, Parameters);