This commit is contained in:
@@ -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>()
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
//==================================================
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user