32 lines
773 B
C#
32 lines
773 B
C#
using System;
|
|
using Xunit;
|
|
using Newtonsoft.Json.Linq;
|
|
using FluentAssertions;
|
|
using System.Collections.Generic;
|
|
using System.Collections.Concurrent;
|
|
|
|
namespace raven_integration
|
|
{
|
|
|
|
public class LogFiles
|
|
{
|
|
|
|
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
[Fact]
|
|
public async void MostRecentLogShouldFetch()
|
|
{
|
|
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
|
|
|
|
}
|
|
|
|
//==================================================
|
|
|
|
}//eoc
|
|
}//eons
|