This commit is contained in:
2018-12-04 21:30:34 +00:00
parent 6b6a5b426c
commit 85ea22fe78

View File

@@ -1040,7 +1040,7 @@ namespace raven_integration
var TestName = "TextOpNotEqualFilterWorks";
var WidgetRunNameStart = Util.Uniquify(TestName);
here
List<long> InclusiveWidgetIdList = new List<long>();
List<long> ExclusiveWidgetIdList = new List<long>();
@@ -1050,7 +1050,7 @@ here
//first inclusive widget
dynamic w = new JObject();
w.name = Util.Uniquify(WidgetRunNameStart);
w.notes = "Donut";
w.notes = "Egg Salad Sandwich";
w.roles = 0;
ApiResponse a = await Util.PostAsync("Widget", await Util.GetTokenAsync("manager", "l3tm3in"), w.ToString());
@@ -1066,7 +1066,7 @@ here
//first exclusive widget
w.name = Util.Uniquify(WidgetRunNameStart);
w.notes = "Duvet";
w.notes = "Elephant";
w.active = false;
a = await Util.PostAsync("Widget", await Util.GetTokenAsync("manager", "l3tm3in"), w.ToString());
@@ -1101,8 +1101,8 @@ here
//active bool test filter
dynamic DataFilterActive = new JObject();
DataFilterActive.fld = "notes";
DataFilterActive.op = OpLessThanOrEqualTo;
DataFilterActive.value = "Dusseldorf";
DataFilterActive.op = OpNotEqual;
DataFilterActive.value = "Elephant";
dfilter.Add(DataFilterActive);
d.filter = dfilter.ToString();//it expects it to be a json string, not actual json