This commit is contained in:
@@ -21,7 +21,7 @@ namespace raven_integration
|
|||||||
{
|
{
|
||||||
ApiTextResponse t = await Util.GetTextResultAsync("LogFiles/log-ayanova.txt", await Util.GetTokenAsync("OpsAdminFull"));
|
ApiTextResponse t = await Util.GetTextResultAsync("LogFiles/log-ayanova.txt", await Util.GetTokenAsync("OpsAdminFull"));
|
||||||
Util.ValidateHTTPStatusCode(t, 200);
|
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|", "|WARN|"};//assumes any log will have at least one of these items in it
|
||||||
t.TextResponse.Should().ContainAny(ExpectedLogItems);
|
t.TextResponse.Should().ContainAny(ExpectedLogItems);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user