This commit is contained in:
2019-04-30 17:19:28 +00:00
parent f1f0e56cd7
commit e9c83e0b26
3 changed files with 4 additions and 2 deletions

View File

@@ -1379,6 +1379,7 @@ namespace raven_integration
}
InclusiveMatchCount.Should().BeGreaterOrEqualTo(1);
//BUGBUG: on 4/30/2019 DST ISSUE? Failing here, found 1
ExclusiveMatchCount.Should().Be(0);
//DELETE WIDGETS
@@ -1470,6 +1471,7 @@ namespace raven_integration
Util.ValidateHTTPStatusCode(a, 200);
//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);
var v = ((JArray)a.ObjectResponse["data"]);
List<long> IDInResultList = new List<long>();

View File

@@ -236,7 +236,7 @@ namespace raven_integration
w.name = Util.Uniquify(WidgetNameStart);
w.customFields = Util.GenerateCustomFieldsJsonString("Meh1");
w.notes = "blah";
w.count = 666;
w.count = 665;
a = await Util.PostAsync("Widget", await Util.GetTokenAsync("manager", "l3tm3in"), w.ToString());
Util.ValidateDataReturnResponseOk(a);
SecondInOrderWidgetId = a.ObjectResponse["data"]["id"].Value<long>();

View File

@@ -258,7 +258,7 @@ namespace raven_integration
//Now attempt delete
a = await Util.DeleteAsync("Widget/" + Id.ToString(), await Util.GetTokenAsync( "TechFull"));
//2004 unauthorized expected
Util.ValidateErrorCodeResponse(a, 2004, 401);
Util.ValidateErrorCodeResponse(a, 2004, 403);
}