using AsbCloudApp.Data.ProcessMaps; using AsbCloudApp.Repositories; using AsbCloudApp.Requests; using AsbCloudApp.Services; using AsbCloudDb.Model.ProcessMaps; using AsbCloudInfrastructure.Services.ProcessMapPlan.Export; using AsbCloudInfrastructure.Services.ProcessMapPlan.Parser; using AsbCloudWebApi.IntegrationTests.Controllers.ProcessMapPlan; using AsbCloudWebApi.IntegrationTests; using Microsoft.EntityFrameworkCore; using Xunit; namespace AsbCloudWebApi.IntegrationTests.Controllers.ProcessMapPlan.Operations; /// /// РТК план выставление /// public class ProcessMapPlanTFOrientationControllerTest : ProcessMapPlanBaseControllerTest { public ProcessMapPlanTFOrientationControllerTest(WebAppFactoryFixture factory) : base(factory, "ProcessMapPlanOperationTFOrientation") { } private readonly ProcessMapPlanTFOrientationDto dto = new ProcessMapPlanTFOrientationDto() { IdWell = 1, DepthStart = 1, DepthEnd = 2, Id = 0, IdWellSectionType = 1, DifferentialPressure = 1, Reaming1NumberOfRepetitions = 1, Reaming1StopPointOffBottom = 1, Reaming1ROPUp = 1, Reaming1ROPDown = 1, Reaming1Interval = 1, Reaming1FlowRateUp = 1, Reaming1FlowRateDown = 1, SetpointsSlackingOff = 1, MaxPressure = 1, MaxTorque = 1, planTF = 1, SetpointsTight = 1, Spring = 1 }; private readonly ProcessMapPlanTFOrientation entity = new ProcessMapPlanTFOrientation() { IdWell = 1, DepthEnd = 10, DepthStart = 2, Id = 0, IdWellSectionType = 1, IdAuthor = 1, IdEditor = 1, Creation = DateTimeOffset.UtcNow, DifferentialPressure = 1, Reaming1NumberOfRepetitions = 1, Reaming1StopPointOffBottom = 1, Reaming1ROPUp = 1, Reaming1ROPDown = 1, Reaming1Interval = 1, Reaming1FlowRateUp = 1, Reaming1FlowRateDown = 1, SetpointsSlackingOff = 1, MaxPressure = 1, MaxTorque = 1, planTF = 1, SetpointsTight = 1, Spring = 1 }; [Fact] public async Task Get_actual_returns_success() { await Get(entity, dto); } protected override ProcessMapPlanTFOrientation GetByNote(DbSet dbSet, ProcessMapPlanTFOrientationDto dto) { throw new NotImplementedException(); } protected override ProcessMapPlanTFOrientationDto GetByNote(IEnumerable dtos, ProcessMapPlanTFOrientationDto dto) { throw new NotImplementedException(); } protected override ProcessMapPlanTFOrientation? GetByWellId() { throw new NotImplementedException(); } }