This commit is contained in:
@@ -123,7 +123,7 @@ namespace raven_integration
|
||||
[Fact]
|
||||
public async void BulkBadParamsShouldFail()
|
||||
{
|
||||
|
||||
|
||||
dynamic d = new JArray();
|
||||
// d.Add(1);
|
||||
// d.Add(2);
|
||||
@@ -131,12 +131,34 @@ namespace raven_integration
|
||||
|
||||
ApiResponse a = await Util.PostAsync("tag-list/bulk-add/33/my new tag", await Util.GetTokenAsync("manager", "l3tm3in"), d.ToString());
|
||||
;
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
// /// <summary>
|
||||
// /// Test bulk tag
|
||||
// /// </summary>
|
||||
// [Fact]
|
||||
// public async void BulkTagDriver()
|
||||
// {
|
||||
|
||||
// dynamic d = new JArray();
|
||||
// d.Add(1);
|
||||
// d.Add(2);
|
||||
|
||||
|
||||
// ApiResponse a = await Util.PostAsync("tag-list/bulk-add/35/my new tag", await Util.GetTokenAsync("manager", "l3tm3in"), d.ToString());
|
||||
// //http://localhost:7575/api/v8/tag-list/bulk-add-any/2/bulk-add-this-tag
|
||||
// //http://localhost:7575/api/v8/tag-list/bulk-remove/2/happy%20new%20tag
|
||||
// //http://localhost:7575/api/v8/tag-list/bulk-remove-any/2/red
|
||||
// //http://localhost:7575/api/v8/tag-list/bulk-replace/2/bulk-add-this-tag?toTag=bulk-update-this-tag
|
||||
// //http://localhost:7575/api/v8/tag-list/bulk-replace-any/2/bulk-update-this-tag?toTag=bulk-replace-this-tag-any
|
||||
// ;
|
||||
// }
|
||||
|
||||
|
||||
|
||||
//==================================================
|
||||
|
||||
}//eoc
|
||||
|
||||
Reference in New Issue
Block a user