[Rt-commit] rt branch, 4.2/oracle-fixes, updated. rt-4.2.0-141-ge2d64e7

Alex Vandiver alexmv at bestpractical.com
Tue Nov 12 20:03:13 EST 2013


The branch, 4.2/oracle-fixes has been updated
       via  e2d64e7561c6cded7a3d15789d16ebc300542d3f (commit)
      from  61fb2de893bcb348cb18fd23b1b5f33226f82d7c (commit)

Summary of changes:
 t/charts/basics.t                | 1 +
 t/charts/compound-sql-function.t | 1 +
 t/charts/group-by-cf.t           | 1 +
 3 files changed, 3 insertions(+)

- Log -----------------------------------------------------------------
commit e2d64e7561c6cded7a3d15789d16ebc300542d3f
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Tue Nov 12 20:03:10 2013 -0500

    Ensure that reports' entries are sorted as expected

diff --git a/t/charts/basics.t b/t/charts/basics.t
index 306eaa5..0f93e5a 100644
--- a/t/charts/basics.t
+++ b/t/charts/basics.t
@@ -26,6 +26,7 @@ use_ok 'RT::Report::Tickets';
         GroupBy  => ['Status'],
         Function => ['COUNT'],
     );
+    $report->SortEntries;
 
     my @colors = RT->Config->Get("ChartColors");
     my $expected = {
diff --git a/t/charts/compound-sql-function.t b/t/charts/compound-sql-function.t
index 96000fa..3e6a3fd 100644
--- a/t/charts/compound-sql-function.t
+++ b/t/charts/compound-sql-function.t
@@ -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 = {
diff --git a/t/charts/group-by-cf.t b/t/charts/group-by-cf.t
index 12296b8..f6bfb35 100644
--- a/t/charts/group-by-cf.t
+++ b/t/charts/group-by-cf.t
@@ -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 = {

-----------------------------------------------------------------------


More information about the rt-commit mailing list