mirror of
https://github.com/meysamhadeli/booking-microservices.git
synced 2026-04-18 09:52:11 +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 FluentAssertions;
|
||||||
using Unit.Test.Common;
|
using Unit.Test.Common;
|
||||||
using Unit.Test.Fakes;
|
using Unit.Test.Fakes;
|
||||||
@ -8,7 +5,6 @@ using Xunit;
|
|||||||
|
|
||||||
namespace Unit.Test.Aircraft.Features.CreateAircraftTests;
|
namespace Unit.Test.Aircraft.Features.CreateAircraftTests;
|
||||||
|
|
||||||
using global::Flight.Aircrafts.Dtos;
|
|
||||||
using global::Flight.Aircrafts.Features.CreatingAircraft.V1;
|
using global::Flight.Aircrafts.Features.CreatingAircraft.V1;
|
||||||
|
|
||||||
[Collection(nameof(UnitTestFixture))]
|
[Collection(nameof(UnitTestFixture))]
|
||||||
|
|||||||
@ -1,6 +1,3 @@
|
|||||||
using System;
|
|
||||||
using System.Threading;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using FluentAssertions;
|
using FluentAssertions;
|
||||||
using Unit.Test.Common;
|
using Unit.Test.Common;
|
||||||
using Unit.Test.Fakes;
|
using Unit.Test.Fakes;
|
||||||
|
|||||||
@ -1,5 +1,3 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using Flight.Data;
|
using Flight.Data;
|
||||||
using Flight.Flights.Enums;
|
using Flight.Flights.Enums;
|
||||||
using Flight.Seats.Enums;
|
using Flight.Seats.Enums;
|
||||||
|
|||||||
@ -1,4 +1,3 @@
|
|||||||
using System;
|
|
||||||
using Flight.Data;
|
using Flight.Data;
|
||||||
using MapsterMapper;
|
using MapsterMapper;
|
||||||
using Xunit;
|
using Xunit;
|
||||||
|
|||||||
@ -1,5 +1,3 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using Flight.Flights.Dtos;
|
using Flight.Flights.Dtos;
|
||||||
using MapsterMapper;
|
using MapsterMapper;
|
||||||
using Unit.Test.Common;
|
using Unit.Test.Common;
|
||||||
@ -10,12 +8,10 @@ namespace Unit.Test.Flight;
|
|||||||
[Collection(nameof(UnitTestFixture))]
|
[Collection(nameof(UnitTestFixture))]
|
||||||
public class FlightMappingTests
|
public class FlightMappingTests
|
||||||
{
|
{
|
||||||
private readonly UnitTestFixture _fixture;
|
|
||||||
private readonly IMapper _mapper;
|
private readonly IMapper _mapper;
|
||||||
|
|
||||||
public FlightMappingTests(UnitTestFixture fixture)
|
public FlightMappingTests(UnitTestFixture fixture)
|
||||||
{
|
{
|
||||||
_fixture = fixture;
|
|
||||||
_mapper = fixture.Mapper;
|
_mapper = fixture.Mapper;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,3 @@
|
|||||||
using System;
|
|
||||||
using System.Threading;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using FluentAssertions;
|
using FluentAssertions;
|
||||||
using Unit.Test.Common;
|
using Unit.Test.Common;
|
||||||
using Unit.Test.Fakes;
|
using Unit.Test.Fakes;
|
||||||
|
|||||||
@ -1,5 +1,3 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using Flight.Seats.Dtos;
|
using Flight.Seats.Dtos;
|
||||||
using MapsterMapper;
|
using MapsterMapper;
|
||||||
using Unit.Test.Common;
|
using Unit.Test.Common;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user