mirror of
https://github.com/meysamhadeli/booking-microservices.git
synced 2026-04-14 12:48:34 +08:00
fix: fix failed unit tests in flight
This commit is contained in:
parent
9f284b3604
commit
3bf8733f5e
@ -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))]
|
||||
|
||||
@ -1,6 +1,3 @@
|
||||
using System;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using FluentAssertions;
|
||||
using Unit.Test.Common;
|
||||
using Unit.Test.Fakes;
|
||||
|
||||
@ -1,5 +1,3 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Flight.Data;
|
||||
using Flight.Flights.Enums;
|
||||
using Flight.Seats.Enums;
|
||||
|
||||
@ -1,4 +1,3 @@
|
||||
using System;
|
||||
using Flight.Data;
|
||||
using MapsterMapper;
|
||||
using Xunit;
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
|
||||
@ -1,6 +1,3 @@
|
||||
using System;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using FluentAssertions;
|
||||
using Unit.Test.Common;
|
||||
using Unit.Test.Fakes;
|
||||
|
||||
@ -1,5 +1,3 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Flight.Seats.Dtos;
|
||||
using MapsterMapper;
|
||||
using Unit.Test.Common;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user