From 0b7a3f740a9573aece5616c3fa8c1df68be7ec64 Mon Sep 17 00:00:00 2001 From: ngfrolov Date: Thu, 30 May 2024 13:40:10 +0500 Subject: [PATCH] Get_actual_returns_success Add Sections caption check --- .../ProcessMapPlan/ProcessMapPlanDrillingControllerTest.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/AsbCloudWebApi.IntegrationTests/Controllers/ProcessMapPlan/ProcessMapPlanDrillingControllerTest.cs b/AsbCloudWebApi.IntegrationTests/Controllers/ProcessMapPlan/ProcessMapPlanDrillingControllerTest.cs index cddd7781..a8c41977 100644 --- a/AsbCloudWebApi.IntegrationTests/Controllers/ProcessMapPlan/ProcessMapPlanDrillingControllerTest.cs +++ b/AsbCloudWebApi.IntegrationTests/Controllers/ProcessMapPlan/ProcessMapPlanDrillingControllerTest.cs @@ -387,7 +387,9 @@ public class ProcessMapPlanDrillingControllerTest : BaseIntegrationTest Assert.Single(response.Content); var actual = response.Content.First()!; - + Assert.NotNull(actual.Section); + Assert.NotEmpty(actual.Section); + var expected = entity.Adapt()!; var excludeProps = new[] { nameof(ProcessMapPlanDrillingDto.Id),