From 52d75398d029051e8ebd30c11a521112399f9138 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Wed, 10 Oct 2018 17:12:11 +0000 Subject: [PATCH] --- test/raven-integration/LogFiles/LogFiles.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/raven-integration/LogFiles/LogFiles.cs b/test/raven-integration/LogFiles/LogFiles.cs index 2ddb2b15..74fed21d 100644 --- a/test/raven-integration/LogFiles/LogFiles.cs +++ b/test/raven-integration/LogFiles/LogFiles.cs @@ -21,7 +21,8 @@ namespace raven_integration { ApiTextResponse t = await Util.GetTextResultAsync("LogFiles/log-ayanova.txt", await Util.GetTokenAsync("OpsAdminFull")); Util.ValidateHTTPStatusCode(t, 200); - t.TextResponse.Should().Contain("|INFO|");//assumes any log will have at least one INFO log item 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); }