|
@@ -25,7 +25,7 @@ namespace Bussiness.ApplicationTest.ResourceExamineManagement
|
|
|
public async Task Should_ThrowExcetion()
|
|
public async Task Should_ThrowExcetion()
|
|
|
{
|
|
{
|
|
|
var testInput = new ResourceCheckInputDto { factoryId = 10201, sorderId = new List<long> { 111111 }, tenantId = 102 };
|
|
var testInput = new ResourceCheckInputDto { factoryId = 10201, sorderId = new List<long> { 111111 }, tenantId = 102 };
|
|
|
- await Xunit.Assert.ThrowsAsync<NotImplementedException>(async () => await _resourceExamineAppService.ReceiveResult(testInput));
|
|
|
|
|
|
|
+ await Xunit.Assert.ThrowsAsync<NotImplementedException>(async () => await _resourceExamineAppService.ReceiveResult("111111"));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
[Fact]
|
|
[Fact]
|
|
@@ -33,7 +33,7 @@ namespace Bussiness.ApplicationTest.ResourceExamineManagement
|
|
|
public async Task Should_ThrowExcetion_Second()
|
|
public async Task Should_ThrowExcetion_Second()
|
|
|
{
|
|
{
|
|
|
var testInput = new ResourceCheckInputDto { factoryId = 10201, sorderId = new List<long> { 111111 }, tenantId = 102 };
|
|
var testInput = new ResourceCheckInputDto { factoryId = 10201, sorderId = new List<long> { 111111 }, tenantId = 102 };
|
|
|
- await _resourceExamineAppService.ReceiveResult(testInput);
|
|
|
|
|
|
|
+ await _resourceExamineAppService.ReceiveResult("111111");
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|