This commit is contained in:
@@ -1379,6 +1379,7 @@ namespace raven_integration
|
|||||||
}
|
}
|
||||||
|
|
||||||
InclusiveMatchCount.Should().BeGreaterOrEqualTo(1);
|
InclusiveMatchCount.Should().BeGreaterOrEqualTo(1);
|
||||||
|
//BUGBUG: on 4/30/2019 DST ISSUE? Failing here, found 1
|
||||||
ExclusiveMatchCount.Should().Be(0);
|
ExclusiveMatchCount.Should().Be(0);
|
||||||
|
|
||||||
//DELETE WIDGETS
|
//DELETE WIDGETS
|
||||||
@@ -1470,6 +1471,7 @@ namespace raven_integration
|
|||||||
Util.ValidateHTTPStatusCode(a, 200);
|
Util.ValidateHTTPStatusCode(a, 200);
|
||||||
|
|
||||||
//assert contains at least this test record
|
//assert contains at least this test record
|
||||||
|
//BUGBUG: on 4/30/2019 DST ISSUE? Failing here, found 0 expected 1
|
||||||
((JArray)a.ObjectResponse["data"]).Count.Should().BeGreaterThan(0);
|
((JArray)a.ObjectResponse["data"]).Count.Should().BeGreaterThan(0);
|
||||||
var v = ((JArray)a.ObjectResponse["data"]);
|
var v = ((JArray)a.ObjectResponse["data"]);
|
||||||
List<long> IDInResultList = new List<long>();
|
List<long> IDInResultList = new List<long>();
|
||||||
|
|||||||
@@ -236,7 +236,7 @@ namespace raven_integration
|
|||||||
w.name = Util.Uniquify(WidgetNameStart);
|
w.name = Util.Uniquify(WidgetNameStart);
|
||||||
w.customFields = Util.GenerateCustomFieldsJsonString("Meh1");
|
w.customFields = Util.GenerateCustomFieldsJsonString("Meh1");
|
||||||
w.notes = "blah";
|
w.notes = "blah";
|
||||||
w.count = 666;
|
w.count = 665;
|
||||||
a = await Util.PostAsync("Widget", await Util.GetTokenAsync("manager", "l3tm3in"), w.ToString());
|
a = await Util.PostAsync("Widget", await Util.GetTokenAsync("manager", "l3tm3in"), w.ToString());
|
||||||
Util.ValidateDataReturnResponseOk(a);
|
Util.ValidateDataReturnResponseOk(a);
|
||||||
SecondInOrderWidgetId = a.ObjectResponse["data"]["id"].Value<long>();
|
SecondInOrderWidgetId = a.ObjectResponse["data"]["id"].Value<long>();
|
||||||
|
|||||||
@@ -258,7 +258,7 @@ namespace raven_integration
|
|||||||
//Now attempt delete
|
//Now attempt delete
|
||||||
a = await Util.DeleteAsync("Widget/" + Id.ToString(), await Util.GetTokenAsync( "TechFull"));
|
a = await Util.DeleteAsync("Widget/" + Id.ToString(), await Util.GetTokenAsync( "TechFull"));
|
||||||
//2004 unauthorized expected
|
//2004 unauthorized expected
|
||||||
Util.ValidateErrorCodeResponse(a, 2004, 401);
|
Util.ValidateErrorCodeResponse(a, 2004, 403);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user