forked from ddrilling/AsbCloudServer
Правка теста композитной скважины
This commit is contained in:
parent
7363fc5fb0
commit
148a05b295
@ -36,6 +36,7 @@ namespace AsbCloudWebApi.Tests.Services.WellCompositeOperation
|
|||||||
new(){Id = 5036, Name = "Промывка"},
|
new(){Id = 5036, Name = "Промывка"},
|
||||||
new(){Id = 5012, Name = "Подъем инструмента"},
|
new(){Id = 5012, Name = "Подъем инструмента"},
|
||||||
new(){Id = 5083, Name = "Проработка принудительная"},
|
new(){Id = 5083, Name = "Проработка принудительная"},
|
||||||
|
new(){Id = 5113, Name = "Бурение"},
|
||||||
};
|
};
|
||||||
|
|
||||||
private readonly static IEnumerable<WellSectionTypeDto> sectionTypes = new List<WellSectionTypeDto>()
|
private readonly static IEnumerable<WellSectionTypeDto> sectionTypes = new List<WellSectionTypeDto>()
|
||||||
@ -224,7 +225,7 @@ namespace AsbCloudWebApi.Tests.Services.WellCompositeOperation
|
|||||||
// assert
|
// assert
|
||||||
var compositeWellOperations = result.WellOperationsComposite;
|
var compositeWellOperations = result.WellOperationsComposite;
|
||||||
Assert.Single(compositeWellOperations);
|
Assert.Single(compositeWellOperations);
|
||||||
Assert.Equal(5003, compositeWellOperations.FirstOrDefault()!.IdCategory);
|
Assert.Equal(5113, compositeWellOperations.FirstOrDefault()!.IdCategory);
|
||||||
Assert.Equal(1.5, compositeWellOperations.FirstOrDefault()!.DurationHours);
|
Assert.Equal(1.5, compositeWellOperations.FirstOrDefault()!.DurationHours);
|
||||||
Assert.Equal(10, compositeWellOperations.FirstOrDefault()!.DepthStart);
|
Assert.Equal(10, compositeWellOperations.FirstOrDefault()!.DepthStart);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user