This commit is contained in:
2019-10-23 22:13:24 +00:00
parent a8dbd7106a
commit f5be2e296b
3 changed files with 97 additions and 2 deletions

31
ApiRoot/ApiRoute.cs Normal file
View File

@@ -0,0 +1,31 @@
using System;
using Xunit;
using Newtonsoft.Json.Linq;
using FluentAssertions;
using System.Collections.Generic;
using System.Collections.Concurrent;
namespace raven_integration
{
public class ApiRoute
{
/// <summary>
///
/// </summary>
[Fact]
public async void ServerApiRootPageShouldFetch()
{
ApiTextResponse t = await Util.GetNonApiPageAsync("/api/v8/");
Util.ValidateHTTPStatusCode(t, 200);
t.TextResponse.Should().Contain("<title>AyaNova server</title>");
}
//==================================================
}//eoc
}//eons