diff options
Diffstat (limited to 'tests/PHPUnit/Unit/RankingQueryTest.php')
-rw-r--r-- | tests/PHPUnit/Unit/RankingQueryTest.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/PHPUnit/Unit/RankingQueryTest.php b/tests/PHPUnit/Unit/RankingQueryTest.php index f9240a1933..5f62ddb19b 100644 --- a/tests/PHPUnit/Unit/RankingQueryTest.php +++ b/tests/PHPUnit/Unit/RankingQueryTest.php @@ -18,6 +18,7 @@ class RankingQueryTest extends \PHPUnit_Framework_TestCase public function testBasic() { $query = new RankingQuery(); + $query->setOthersLabel('Others'); $query->addLabelColumn('label'); $query->addColumn('column'); $query->addColumn('columnSum', 'sum'); @@ -58,6 +59,7 @@ class RankingQueryTest extends \PHPUnit_Framework_TestCase public function testExcludeRows() { $query = new RankingQuery(20); + $query->setOthersLabel('Others'); $query->addLabelColumn('label'); $query->setColumnToMarkExcludedRows('exclude_marker'); @@ -95,6 +97,7 @@ class RankingQueryTest extends \PHPUnit_Framework_TestCase public function testPartitionResult() { $query = new RankingQuery(1000); + $query->setOthersLabel('Others'); $query->addLabelColumn('label'); $query->partitionResultIntoMultipleGroups('partition', array(1, 2, 3)); |