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
44 lines
1.1 KiB
using Shentun.Peis.PlugIns.Extensions.ChargeRequests.Hzcy;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using Xunit.Abstractions;
|
|
|
|
namespace Shentun.Peis.PlugIns.Extensions.Test
|
|
{
|
|
public class ChargeRequestPlugInsHzcyTest
|
|
{
|
|
private readonly ITestOutputHelper _output;
|
|
public ChargeRequestPlugInsHzcyTest(ITestOutputHelper testOutputHelper)
|
|
{
|
|
_output = testOutputHelper;
|
|
|
|
}
|
|
|
|
[Fact]
|
|
public async Task ImportResultAsync()
|
|
{
|
|
|
|
|
|
var input = new ChargeRequestPlugInsHzcy(new Guid("1c8cb151-cbc6-4ab5-b50b-0644bf2d515c"));
|
|
var loginResult = input.LoginAsync().Result;
|
|
// await input.SyncChargeRequestFlagFromInterfaceAsync(new Guid("3a12e00d-7c60-64a8-c02d-1ba915cc601e"));
|
|
|
|
|
|
}
|
|
|
|
[Fact]
|
|
public async Task DoWork()
|
|
{
|
|
|
|
|
|
var input = new ChargeRequestPlugInsHzcy(new Guid("1c8cb151-cbc6-4ab5-b50b-0644bf2d515c"));
|
|
var loginResult = input.LoginAsync().Result;
|
|
await input.DoWork();
|
|
|
|
|
|
}
|
|
}
|
|
}
|