This commit is contained in:
2020-05-13 23:15:26 +00:00
parent 72a936ecad
commit d8ab0420c0
5 changed files with 7 additions and 7 deletions

View File

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