mirror of
https://github.com/BlossomiShymae/Needlework.Net.git
synced 2025-12-06 18:20:47 +01:00
23 lines
488 B
C#
23 lines
488 B
C#
using Xunit.Abstractions;
|
|
|
|
namespace Needlework.Net.Core.Tests;
|
|
|
|
public class ResourcesTest
|
|
{
|
|
private readonly ITestOutputHelper _output;
|
|
|
|
internal HttpClient HttpClient { get; } = new();
|
|
|
|
public ResourcesTest(ITestOutputHelper output)
|
|
{
|
|
_output = output;
|
|
}
|
|
|
|
[Fact]
|
|
public async Task DocumentTestAsync()
|
|
{
|
|
var document = await Resources.GetOpenApiDocumentAsync(HttpClient);
|
|
|
|
Assert.True(document.Info.Title == "LCU SCHEMA");
|
|
}
|
|
} |