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.

44 lines
1.1 KiB

1 year ago
2 years ago
1 year ago
2 years ago
1 year ago
2 years ago
1 year ago
2 years ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
  1. using Shentun.Peis.PlugIns.Extensions.ChargeRequests.Hzcy;
  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.Extensions.Test
  9. {
  10. public class ChargeRequestPlugInsHzcyTest
  11. {
  12. private readonly ITestOutputHelper _output;
  13. public ChargeRequestPlugInsHzcyTest(ITestOutputHelper testOutputHelper)
  14. {
  15. _output = testOutputHelper;
  16. }
  17. [Fact]
  18. public async Task ImportResultAsync()
  19. {
  20. var input = new ChargeRequestPlugInsHzcy(new Guid("1c8cb151-cbc6-4ab5-b50b-0644bf2d515c"));
  21. var loginResult = input.LoginAsync().Result;
  22. await input.SyncChargeRequestFlagFromInterfaceAsync(new Guid("3a12e00d-7c60-64a8-c02d-1ba915cc601e"));
  23. }
  24. [Fact]
  25. public async Task DoWork()
  26. {
  27. var input = new ChargeRequestPlugInsHzcy(new Guid("1c8cb151-cbc6-4ab5-b50b-0644bf2d515c"));
  28. var loginResult = input.LoginAsync().Result;
  29. await input.DoWork();
  30. }
  31. }
  32. }