Skip to content

Commit

Permalink
Add missing report tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
antonberezan committed May 8, 2018
1 parent e461194 commit b352443
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions CoreTests/Integration/Reports/Find.cs
Expand Up @@ -24,14 +24,35 @@ public async Task find_balance_sheet_report()
[Test]
public async Task find_profit_loss_report()
{
var reports = await Api.Reports.ProfitAndLossAsync(DateTime.Now.AddDays(-50));
var reports = await Api.Reports.ProfitAndLossAsync(DateTime.Now);
Assert.IsNotNull(reports);
}

[Test]
public async Task find_budget_summary_report()
{
var reports = await Api.Reports.BudgetSummaryAsync(DateTime.Now.AddDays(-50));
var reports = await Api.Reports.BudgetSummaryAsync(DateTime.Now);
Assert.IsNotNull(reports);
}

[Test]
public async Task find_bank_summary_report()
{
var reports = await Api.Reports.BankSummaryAsync();
Assert.IsNotNull(reports);
}

[Test]
public async Task find_executive_summary_report()
{
var reports = await Api.Reports.ExecutiveSummaryAsync(DateTime.Now);
Assert.IsNotNull(reports);
}

[Test]
public async Task find_trial_balance_report()
{
var reports = await Api.Reports.TrailBalanceAsync(DateTime.Now);
Assert.IsNotNull(reports);
}
}
Expand Down

0 comments on commit b352443

Please sign in to comment.