You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.0 KiB

2 years ago
2 years ago
2 years ago
  1. using Shentun.Utilities;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. using Xunit.Abstractions;
  8. namespace Shentun.Peis.PlugIns.Tests
  9. {
  10. public class LisResultImportPlugInsTest
  11. {
  12. private readonly ITestOutputHelper _output;
  13. public LisResultImportPlugInsTest(ITestOutputHelper testOutputHelper)
  14. {
  15. _output = testOutputHelper;
  16. }
  17. [Fact]
  18. public async Task ImportResultAsync()
  19. {
  20. string configParm;
  21. string filePath = DirectoryHelper.GetAppDirectory() + "/appsettings.json";
  22. configParm = File.ReadAllText(filePath);
  23. var input = new LisResultImportPlugInsDbBase(configParm);
  24. var item = await input.ImportResultAsync(
  25. new LisResultImportPlugInsInput()
  26. {
  27. PatientRegisterId = new Guid("3a126d1d-6974-a1c5-0e98-30241c2e5243")
  28. });
  29. }
  30. }
  31. }