This commit is contained in:
@@ -167,12 +167,12 @@ namespace raven_integration
|
||||
nActiveMatches.Should().Be(ActiveWidgetIdList.Count);
|
||||
nInactiveMatches.Should().Be(0);
|
||||
|
||||
//TODO: ensure the results match the appropriate matching widgetIDList made earlier
|
||||
|
||||
|
||||
//TODO: //UPDATE FILTER TO LIMIT TO INACTIVE BY FLIPPING THE OP TO NOTEQUAL
|
||||
//SAVE AS ANOTHER FILTER (or possibly modify the original one) AND RETEST
|
||||
|
||||
|
||||
// //UPDATE FILTER TO LIMIT TO INACTIVE
|
||||
|
||||
// //PUT, make private
|
||||
// d["public"] = false;
|
||||
// d.name = Util.Uniquify("Put - Test DataFilter (privatized)");
|
||||
@@ -180,16 +180,10 @@ namespace raven_integration
|
||||
// a = await Util.PutAsync("DataFilter/" + DataFilterId.ToString(), await Util.GetTokenAsync("BizAdminFull"), d.ToString());
|
||||
// Util.ValidateHTTPStatusCode(a, 200);
|
||||
|
||||
// //check PUT worked
|
||||
// a = await Util.GetAsync("DataFilter/" + DataFilterId.ToString(), await Util.GetTokenAsync("BizAdminFull"));
|
||||
// Util.ValidateNoErrorInResponse(a);
|
||||
// a.ObjectResponse["data"]["name"].Value<string>().Should().Be(d.name.ToString());
|
||||
|
||||
//TODO: Re-run search and compare active v inactive opposite of above
|
||||
|
||||
// //FETCH DISALLOWED
|
||||
// //Get as alternate user should fail for private filter
|
||||
// a = await Util.GetAsync("DataFilter/" + DataFilterId.ToString(), await Util.GetTokenAsync("SubContractorLimited"));
|
||||
// Util.ValidateResponseNotFound(a);
|
||||
//TODO: Delete filter and widgets
|
||||
|
||||
// // //DELETE
|
||||
// ApiResponse DELETETestResponse = await Util.DeleteAsync("DataFilter/" + DataFilterId.ToString(), await Util.GetTokenAsync("BizAdminFull"));
|
||||
|
||||
Reference in New Issue
Block a user