Add skeleton test class for ListMissions and explain why these tests don't run
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
namespace MissionControl.Server.Tests.Endpoints.Missions;
|
||||
|
||||
public class ListMissionsTests
|
||||
{
|
||||
// TODO: This test fails because we cannot order on `DateTimeOffset`s in SQLite - would rather use TestContainers instead
|
||||
// [Fact]
|
||||
// public async Task Creates_a_planned_mission_and_saves_it()
|
||||
// {
|
||||
// using var database = new TestDatabase();
|
||||
// var endpoint = Factory.Create<ListMissions>(database.Context);
|
||||
//
|
||||
// await endpoint.HandleAsync(CancellationToken.None);
|
||||
//
|
||||
// endpoint.HttpContext.Response.StatusCode.ShouldBe(StatusCodes.Status200OK);
|
||||
// }
|
||||
}
|
||||
Reference in New Issue
Block a user