fix: fix failed unit tests in flight

This commit is contained in:
Meysam Hadeli 2025-02-14 01:59:57 +03:30
parent 9f284b3604
commit 3bf8733f5e
7 changed files with 0 additions and 19 deletions

View File

@ -1,6 +1,3 @@
using System;
using System.Threading;
using System.Threading.Tasks;
using FluentAssertions;
using Unit.Test.Common;
using Unit.Test.Fakes;
@ -8,7 +5,6 @@ using Xunit;
namespace Unit.Test.Aircraft.Features.CreateAircraftTests;
using global::Flight.Aircrafts.Dtos;
using global::Flight.Aircrafts.Features.CreatingAircraft.V1;
[Collection(nameof(UnitTestFixture))]

View File

@ -1,6 +1,3 @@
using System;
using System.Threading;
using System.Threading.Tasks;
using FluentAssertions;
using Unit.Test.Common;
using Unit.Test.Fakes;

View File

@ -1,5 +1,3 @@
using System;
using System.Collections.Generic;
using Flight.Data;
using Flight.Flights.Enums;
using Flight.Seats.Enums;

View File

@ -1,4 +1,3 @@
using System;
using Flight.Data;
using MapsterMapper;
using Xunit;

View File

@ -1,5 +1,3 @@
using System;
using System.Collections.Generic;
using Flight.Flights.Dtos;
using MapsterMapper;
using Unit.Test.Common;
@ -10,12 +8,10 @@ namespace Unit.Test.Flight;
[Collection(nameof(UnitTestFixture))]
public class FlightMappingTests
{
private readonly UnitTestFixture _fixture;
private readonly IMapper _mapper;
public FlightMappingTests(UnitTestFixture fixture)
{
_fixture = fixture;
_mapper = fixture.Mapper;
}

View File

@ -1,6 +1,3 @@
using System;
using System.Threading;
using System.Threading.Tasks;
using FluentAssertions;
using Unit.Test.Common;
using Unit.Test.Fakes;

View File

@ -1,5 +1,3 @@
using System;
using System.Collections.Generic;
using Flight.Seats.Dtos;
using MapsterMapper;
using Unit.Test.Common;