public async Task Should_export_transactionreport_proxy() { _client = GetUmbClient(true, proxy: true); var sourcePath = SourcePath; var beginDate = DateTime.Today.AddDays(-10); var endDate = DateTime.Today.AddDays(-1); var task1 = await TransactionReport.ExportFileAsync(_client, sourcePath, beginDate, endDate).ConfigureAwait(false); Check.That(task1).IsTrue(); var task2 = TransactionReport.GetReadXml(_client, sourcePath); Check.That(task2).IsNotEmpty(); }
[TearDown] public void TearDown() { _client?.Dispose(); _client = null; }
[SetUp] public void Configure() => _client = GetUmbClient();