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