forked from ddrilling/AsbCloudServer
поправлены названия переменных
This commit is contained in:
parent
e8a71477e6
commit
0f8bc45e80
@ -60,8 +60,8 @@ public class WellControllerTest : BaseIntegrationTest
|
||||
var expectedCount = await dbContext.Wells.CountAsync();
|
||||
Assert.Equal(expectedCount, wellResponse.Content.Count());
|
||||
|
||||
var wellStartDate = wellResponse.Content.ElementAt(0).StartDate!.Value.ToUniversalTime();
|
||||
var expectedDate = wellOperations.MinByOrDefault(o => o.DateStart)!.DateStart.ToUniversalTime();
|
||||
Assert.Equal(expectedDate.ToString(), wellStartDate.ToString());
|
||||
var actualFirstStartDate = wellResponse.Content.ElementAt(0).StartDate!.Value.ToUniversalTime();
|
||||
var expectedFirstStartDate = wellOperations.MinByOrDefault(o => o.DateStart)!.DateStart.ToUniversalTime();
|
||||
Assert.Equal(expectedFirstStartDate.ToString(), actualFirstStartDate.ToString());
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user