diff options
author | diosmosis <benaka@piwik.pro> | 2014-09-21 02:34:52 +0400 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2014-09-21 03:02:41 +0400 |
commit | 96895068207ec39e0c110307a0d2f987970752e5 (patch) | |
tree | 677966c4c99e910116351e05756921f9696400f7 /tests/PHPUnit/Core | |
parent | 33cc6c77bc789a6d957272b1fec4a15a7d6ffb2b (diff) |
Refs #6078, prepend numeral index to each column in pivotted datatable.
Diffstat (limited to 'tests/PHPUnit/Core')
-rw-r--r-- | tests/PHPUnit/Core/DataTable/Filter/PivotByDimensionTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/PHPUnit/Core/DataTable/Filter/PivotByDimensionTest.php b/tests/PHPUnit/Core/DataTable/Filter/PivotByDimensionTest.php index d711d6655c..f1de402f44 100644 --- a/tests/PHPUnit/Core/DataTable/Filter/PivotByDimensionTest.php +++ b/tests/PHPUnit/Core/DataTable/Filter/PivotByDimensionTest.php @@ -262,9 +262,9 @@ class PivotByDimensionTest extends PHPUnit_Framework_TestCase $pivotFilter->filter($table); $expectedRows = array( - array('label' => 'row 1', 'col 2' => false, 'col 3' => false, 'col 4' => false), - array('label' => 'row 2', 'col 2' => 5, 'col 3' => false, 'col 4' => false), - array('label' => 'row 3', 'col 2' => 7, 'col 3' => 9, 'col 4' => 32) + array('label' => 'row 1', 'col 2' => false, 'col 4' => false, 'General_Others' => 1), + array('label' => 'row 2', 'col 2' => 5, 'col 4' => false, 'General_Others' => 3), + array('label' => 'row 3', 'col 2' => 7, 'col 4' => 32, 'General_Others' => 9) ); $this->assertTableRowsEquals($expectedRows, $table); } |