1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-06-23 00:38:51 +02:00

Переработка тестов для Yandex Disk

This commit is contained in:
Anton Titovets
2024-08-14 15:30:44 +03:00
parent 2b18cce44b
commit 6bf8d0f89e
438 changed files with 5437 additions and 4479 deletions

View File

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

View File

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

View File

@ -1,6 +1,6 @@
 Parameters = GetVKParameters();
Product = "9372711";
Selection = "125";
Product = "9441427";
Selection = "122";
Result = OPI_VK.AddProductToCollection(Product, Selection, Parameters);

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,7 +1,7 @@
 Parameters = GetVKParameters();
Property = "648";
Option = "2054";
Property = "682";
Option = "2138";
Value = "New variant name";
Result = OPI_VK.EditProductPropertyVariant(Value

View File

@ -1,7 +1,7 @@
 Parameters = GetVKParameters();
Item1 = "9372712";
Item2 = "9372714";
Item1 = "9441430";
Item2 = "9441431";
ProductsArray = New Array;
ProductsArray.Add(Item1);

View File

@ -1,7 +1,7 @@
 Parameters = GetVKParameters();
Item1 = "9372712";
Item2 = "9372714";
Item1 = "9441430";
Item2 = "9441431";
ProductsArray = New Array;
ProductsArray.Add(Item1);

View File

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

View File

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

View File

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

View File

@ -1,6 +1,6 @@
 Parameters = GetVKParameters();
Product = "9372711";
Selection = "125";
Product = "9441427";
Selection = "122";
Result = OPI_VK.RemoveProductFromSelection(Product, Selection, Parameters);

View File

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

View File

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