This commit is contained in:
2020-05-21 19:43:28 +00:00
parent 80d4285348
commit 3efac8bf36
2 changed files with 11 additions and 5 deletions

View File

@@ -116,6 +116,16 @@ namespace raven_integration
}
/// <summary>
///
/// </summary>
[Fact]
public async void UserLogWorks()
{
//get admin log, sb lots of shit
ApiResponse a = await Util.GetAsync($"event-log/userlog?UserId=1&Offset=0&Limit=999", await Util.GetTokenAsync("BizAdminFull"));
((JArray)a.ObjectResponse["data"]["events"]).Count.Should().BeGreaterThan(90);
}
@@ -202,10 +212,6 @@ namespace raven_integration
+ o["objectId"].Value<string>() + o["name"].Value<string>() + o["event"].Value<string>()
);
}
}
//==================================================

View File

@@ -497,7 +497,7 @@ namespace raven_integration
Util.ValidateDataReturnResponseOk(a);
a = await Util.DeleteAsync("workorder/" + WorkOrderId.ToString(), await Util.GetTokenAsync("manager", "l3tm3in"));
Util.ValidateServerExceptionResponse(a);
Util.ValidateErrorCodeResponse(a, 2200, 400);
//now confirm the workorder is still there and with it's children intact
//RETRIEVE WORKORDER AND VALIDATE ENTIRE