using AsbCloudApp.Repositories; using AsbCloudApp.Requests; using AsbCloudApp.Services; using AsbCloudInfrastructure.Services.ProcessMapPlan.Export; using AsbCloudInfrastructure.Services.ProcessMapPlan.Parser; using AsbCloudWebApi.IntegrationTests.Controllers.ProcessMapPlan; using AsbCloudWebApi.IntegrationTests; using Microsoft.EntityFrameworkCore; using Xunit; using AsbCloudDb.Model.ProcessMapPlan.Operations; using AsbCloudApp.Data.ProcessMaps.Operations; namespace AsbCloudWebApi.IntegrationTests.Controllers.ProcessMapPlan.Operations; /// /// РТК план записи статического замера /// public class ProcessMapPlanRecordingStaticMeasurementControllerTest : ProcessMapPlanBaseControllerTest { public ProcessMapPlanRecordingStaticMeasurementControllerTest(WebAppFactoryFixture factory) : base(factory, "ProcessMapPlanRecordingStaticMeasurement") { } private readonly ProcessMapPlanRecordingStaticMeasurementDto dto = new ProcessMapPlanRecordingStaticMeasurementDto() { IdWell = 1, DepthStart = 1, DepthEnd = 2, Id = 0, IdWellSectionType = 1, MeasurementRecordingTime = 1, Note = "1" }; private readonly ProcessMapPlanRecordingStaticMeasurement entity = new ProcessMapPlanRecordingStaticMeasurement() { IdWell = 1, DepthEnd = 10, DepthStart = 2, Id = 0, IdWellSectionType = 1, IdAuthor = 1, IdEditor = 1, Creation = DateTimeOffset.UtcNow, MeasurementRecordingTime = 1, Note = "1" }; [Fact] public async Task Get_actual_returns_success() { await Get(entity, dto); } protected override ProcessMapPlanRecordingStaticMeasurement GetByNote(DbSet dbSet, ProcessMapPlanRecordingStaticMeasurementDto dto) { throw new NotImplementedException(); } protected override ProcessMapPlanRecordingStaticMeasurementDto GetByNote(IEnumerable dtos, ProcessMapPlanRecordingStaticMeasurementDto dto) { throw new NotImplementedException(); } protected override ProcessMapPlanRecordingStaticMeasurement? GetByWellId() { throw new NotImplementedException(); } }