using AsbCloudApp.Data.ProcessMaps.Operations; using AsbCloudDb.Model.ProcessMapPlan.Operations; using Microsoft.EntityFrameworkCore; using Xunit; namespace AsbCloudWebApi.IntegrationTests.Controllers.ProcessMapPlan.Operations; /// /// РТК план встряхивание бурового инструмента /// public class ProcessMapPlanRotorRpmAccelerationControllerTest : ProcessMapPlanBaseControllerTest { public ProcessMapPlanRotorRpmAccelerationControllerTest(WebAppFactoryFixture factory) : base(factory, "ProcessMapPlanRotorRpmAcceleration") { } private readonly ProcessMapPlanRotorRpmAccelerationDto dto = new ProcessMapPlanRotorRpmAccelerationDto() { IdWell = 1, DepthStart = 1, DepthEnd = 2, Id = 0, IdWellSectionType = 1, Note = "1", Rpm = 1, RpmMax = 2, TopDriveTorque = 2, TopDriveTorqueMax = 3, }; private readonly ProcessMapPlanRotorRpmAcceleration entity = new ProcessMapPlanRotorRpmAcceleration() { IdWell = 1, DepthEnd = 10, DepthStart = 2, Id = 0, IdWellSectionType = 1, IdAuthor = 1, IdEditor = 1, Creation = DateTimeOffset.UtcNow, Note = "1", Rpm = 1, RpmMax = 2, TopDriveTorque = 2, TopDriveTorqueMax = 3, }; [Fact] public async Task Get_actual_returns_success() { await Get(entity, dto); } protected override ProcessMapPlanRotorRpmAcceleration GetByNote(DbSet dbSet, ProcessMapPlanRotorRpmAccelerationDto dto) { throw new NotImplementedException(); } protected override ProcessMapPlanRotorRpmAccelerationDto GetByNote(IEnumerable dtos, ProcessMapPlanRotorRpmAccelerationDto dto) { throw new NotImplementedException(); } protected override ProcessMapPlanRotorRpmAcceleration? GetByWellId() { throw new NotImplementedException(); } }