diff --git a/test/MissionControl.Server.Tests/Endpoints/Missions/CreateMissionTests.cs b/test/MissionControl.Server.Tests/Endpoints/Missions/CreateMissionTests.cs index 501e816..5201b2d 100644 --- a/test/MissionControl.Server.Tests/Endpoints/Missions/CreateMissionTests.cs +++ b/test/MissionControl.Server.Tests/Endpoints/Missions/CreateMissionTests.cs @@ -69,9 +69,13 @@ public class CreateMissionTests var description = new string('a', length); - var result = validator.Validate(new CreateMissionRequest { Name = "name", Description = description}); + var result = validator.Validate( + new CreateMissionRequest { Name = "name", Description = description } + ); result.IsValid.ShouldBeFalse(); - result.Errors.ShouldContain(e => e.PropertyName == nameof(CreateMissionRequest.Description)); + result.Errors.ShouldContain(e => + e.PropertyName == nameof(CreateMissionRequest.Description) + ); } } diff --git a/test/MissionControl.Server.Tests/Endpoints/Missions/MissionLaunches/CreateMissionLaunchTests.cs b/test/MissionControl.Server.Tests/Endpoints/Missions/MissionLaunches/CreateMissionLaunchTests.cs index 51be3f5..e5d6e18 100644 --- a/test/MissionControl.Server.Tests/Endpoints/Missions/MissionLaunches/CreateMissionLaunchTests.cs +++ b/test/MissionControl.Server.Tests/Endpoints/Missions/MissionLaunches/CreateMissionLaunchTests.cs @@ -73,11 +73,7 @@ public class CreateMissionLaunchTests private static async Task createMission(TestDatabase database) { - var mission = new Mission - { - Name = "new mission", - Description = "mission description", - }; + var mission = new Mission { Name = "new mission", Description = "mission description" }; database.Context.Missions.Add(mission); await database.Context.SaveChangesAsync();