diff --git a/AsbCloudInfrastructure/Services/WellOperations/Templates/WellOperationFactTemplate.xlsx b/AsbCloudInfrastructure/Services/WellOperations/Templates/WellOperationFactTemplate.xlsx
index bd41063d..12fc2a44 100644
Binary files a/AsbCloudInfrastructure/Services/WellOperations/Templates/WellOperationFactTemplate.xlsx and b/AsbCloudInfrastructure/Services/WellOperations/Templates/WellOperationFactTemplate.xlsx differ
diff --git a/AsbCloudInfrastructure/Services/WellOperations/Templates/WellOperationPlanTemplate.xlsx b/AsbCloudInfrastructure/Services/WellOperations/Templates/WellOperationPlanTemplate.xlsx
index e64452e1..ca2d01c7 100644
Binary files a/AsbCloudInfrastructure/Services/WellOperations/Templates/WellOperationPlanTemplate.xlsx and b/AsbCloudInfrastructure/Services/WellOperations/Templates/WellOperationPlanTemplate.xlsx differ
diff --git a/AsbCloudWebApi.IntegrationTests/Controllers/WellOperations/Files/FactWellOperations.xlsx b/AsbCloudWebApi.IntegrationTests/Controllers/WellOperations/Files/FactWellOperations.xlsx
index 45ee8a0b..a7af0814 100644
Binary files a/AsbCloudWebApi.IntegrationTests/Controllers/WellOperations/Files/FactWellOperations.xlsx and b/AsbCloudWebApi.IntegrationTests/Controllers/WellOperations/Files/FactWellOperations.xlsx differ
diff --git a/AsbCloudWebApi.IntegrationTests/Controllers/WellOperations/Files/PlanWellOperations.xlsx b/AsbCloudWebApi.IntegrationTests/Controllers/WellOperations/Files/PlanWellOperations.xlsx
index 3083297e..d54dd669 100644
Binary files a/AsbCloudWebApi.IntegrationTests/Controllers/WellOperations/Files/PlanWellOperations.xlsx and b/AsbCloudWebApi.IntegrationTests/Controllers/WellOperations/Files/PlanWellOperations.xlsx differ
diff --git a/AsbCloudWebApi.IntegrationTests/Controllers/WellOperations/WellOperationControllerTest.cs b/AsbCloudWebApi.IntegrationTests/Controllers/WellOperations/WellOperationControllerTest.cs
index 4f44333e..117ddae1 100644
--- a/AsbCloudWebApi.IntegrationTests/Controllers/WellOperations/WellOperationControllerTest.cs
+++ b/AsbCloudWebApi.IntegrationTests/Controllers/WellOperations/WellOperationControllerTest.cs
@@ -27,7 +27,7 @@ public class WellOperationControllerTest : BaseIntegrationTest
}
///
- /// Успешное добавление операций (без предварительной очистки данных)
+ /// ( )
///
///
[Fact]
@@ -46,7 +46,7 @@ public class WellOperationControllerTest : BaseIntegrationTest
}
///
- /// Успешное добавление операций (с предварительной очисткой данных)
+ /// ( )
///
///
[Fact]
@@ -65,7 +65,7 @@ public class WellOperationControllerTest : BaseIntegrationTest
}
///
- /// Успешное обновление операций
+ ///
///
///
[Fact]
@@ -87,7 +87,7 @@ public class WellOperationControllerTest : BaseIntegrationTest
}
///
- /// Получение плановых операций
+ ///
///
///
[Fact]
@@ -144,7 +144,7 @@ public class WellOperationControllerTest : BaseIntegrationTest
IdWellSectionType = 2,
IdCategory = WellOperationCategory.IdSlide,
IdPlan = null,
- CategoryInfo = "Доп.инфо",
+ CategoryInfo = ".",
IdType = idType,
DepthStart = 10.0,
DepthEnd = 20.0,
@@ -201,7 +201,7 @@ public class WellOperationControllerTest : BaseIntegrationTest
var stream = responseTemplate.Content;
using var workbook = new XLWorkbook(stream);
- var sheet = workbook.GetWorksheet("Справочники");
+ var sheet = workbook.GetWorksheet("");
var count = sheet.RowsUsed().Count() - 1;
@@ -230,23 +230,6 @@ public class WellOperationControllerTest : BaseIntegrationTest
Assert.True(notExistedInDb.Count() == 0);
}
- private static WellOperation CreateWellOperation(int idWell, int idType = WellOperation.IdOperationTypePlan) =>
- new()
- {
- IdWell = idWell,
- IdWellSectionType = 2,
- IdCategory = WellOperationCategory.IdSlide,
- IdPlan = null,
- CategoryInfo = "Доп.инфо",
- LastUpdateDate = new DateTimeOffset(new DateTime(2023, 1, 10)).ToUniversalTime(),
- IdType = idType,
- DepthStart = 10.0,
- DepthEnd = 20.0,
- DateStart = new DateTimeOffset(new DateTime(2023, 1, 10), TimeSpan.FromHours(Defaults.Timezone.Hours)).ToUniversalTime(),
- DurationHours = 1.0,
- Comment = "1",
- IdUser = 1,
- };
[Theory]
[InlineData(WellOperation.IdOperationTypePlan)]
[InlineData(WellOperation.IdOperationTypeFact)]