This commit is contained in:
2019-10-23 18:00:57 +00:00
parent 69aeb111df
commit a8dbd7106a
3 changed files with 34 additions and 10 deletions

View File

@@ -21,7 +21,7 @@ namespace raven_integration
{
ApiTextResponse t = await Util.GetTextResultAsync("LogFiles/log-ayanova.txt", await Util.GetTokenAsync("OpsAdminFull"));
Util.ValidateHTTPStatusCode(t, 200);
string[] ExpectedLogItems = {"|INFO|","|ERROR|", "|WARN|"};//assumes any log will have at least one of these items in it
string[] ExpectedLogItems = {"|INFO|","|ERROR|","|FATAL|", "|WARN|"};//assumes any log will have at least one of these items in it
t.TextResponse.Should().ContainAny(ExpectedLogItems);
}