|
@@ -471,17 +471,19 @@ public class SnapshotApplicationTest : TestBase
|
|
|
ArgeePoints = 3,
|
|
|
ExtraDeductedPoints = 2,
|
|
|
RefusePoints = 1,
|
|
|
- ReportPoints = 4
|
|
|
+ ReportPoints = 4,
|
|
|
+ IsPoints = false
|
|
|
};
|
|
|
var industryId = await _industryApplication.AddIndustryAsync(industry, CancellationToken.None);
|
|
|
var pageDto = await _snapshotApplication.GetIndustryBaseAsync(industryId, CancellationToken.None);
|
|
|
var industryOut = await _industryApplication.GetIndustryDetailAsync(industryId, CancellationToken.None);
|
|
|
try
|
|
|
{
|
|
|
- industryOut.ArgeePoints.ShouldBe(industry.ArgeePoints);
|
|
|
- industryOut.ExtraDeductedPoints.ShouldBe(industry.ExtraDeductedPoints);
|
|
|
- industryOut.RefusePoints.ShouldBe(industry.RefusePoints);
|
|
|
- industryOut.ReportPoints.ShouldBe(industry.ReportPoints);
|
|
|
+ industryOut.ArgeePoints.Value.ShouldBe(industry.ArgeePoints.Value);
|
|
|
+ industryOut.ExtraDeductedPoints.Value.ShouldBe(industry.ExtraDeductedPoints.Value);
|
|
|
+ industryOut.RefusePoints.Value.ShouldBe(industry.RefusePoints.Value);
|
|
|
+ industryOut.ReportPoints.Value.ShouldBe(industry.ReportPoints.Value);
|
|
|
+ industryOut.IsPoints.ShouldBe(industry.IsPoints);
|
|
|
pageDto.ShouldNotBeNull();
|
|
|
pageDto.Files.ShouldNotBeNull();
|
|
|
foreach (var file in pageDto.Files)
|