LANCommander/LANCommander.Server.Tests/Client/AuthenticationTests.cs
2025-03-15 22:02:26 -05:00

23 lines
No EOL
535 B
C#

using Microsoft.AspNetCore.Mvc.Testing;
using Shouldly;
namespace LANCommander.Server.Tests.Client;
[Collection("Application")]
public class AuthenticationTests : IClassFixture<ApplicationFixture>
{
private readonly ApplicationFixture _fixture;
public AuthenticationTests(ApplicationFixture fixture)
{
_fixture = ApplicationFixture.Instance;
}
[Fact]
public async Task PingShouldWork()
{
var response = await _fixture.Client.PingAsync();
response.ShouldBeTrue();
}
}