32 lines
693 B
C#
32 lines
693 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 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
|