Skip to content

Commit

Permalink
Ensure that reports' entries are sorted as expected
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmv committed Nov 13, 2013
1 parent 61fb2de commit e2d64e7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions t/charts/basics.t
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ use_ok 'RT::Report::Tickets';
GroupBy => ['Status'],
Function => ['COUNT'],
);
$report->SortEntries;

my @colors = RT->Config->Get("ChartColors");
my $expected = {
Expand Down
1 change: 1 addition & 0 deletions t/charts/compound-sql-function.t
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ use_ok 'RT::Report::Tickets';
GroupBy => ['Queue'],
Function => ['ALL(Created-Resolved)'],
);
$report->SortEntries;

my @colors = RT->Config->Get("ChartColors");
my $expected = {
Expand Down
1 change: 1 addition & 0 deletions t/charts/group-by-cf.t
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ use_ok 'RT::Report::Tickets';
GroupBy => ["CF.{$cfid}"], # TODO: CF.{Name} is not supported at the moment
Function => ['COUNT'],
);
$report->SortEntries;

my @colors = RT->Config->Get("ChartColors");
my $expected = {
Expand Down

0 comments on commit e2d64e7

Please sign in to comment.