diff options
author | diosmosis <benaka.moorthi@gmail.com> | 2013-04-17 08:56:50 +0400 |
---|---|---|
committer | diosmosis <benaka.moorthi@gmail.com> | 2013-04-17 08:56:50 +0400 |
commit | befb48d8935b59a42757cbe0d87cff6f67203b60 (patch) | |
tree | f4ef77e2c32bcf1f55648b76836af46285fa9361 /tests | |
parent | c91a60342fe0e7a52e554ae9da8e78e20c759fd3 (diff) |
Fixes #3898, fix error that occurs when multi row evolution is called w/o labels for periods w/ no data.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/PHPUnit/Integration/RowEvolutionTest.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/PHPUnit/Integration/RowEvolutionTest.php b/tests/PHPUnit/Integration/RowEvolutionTest.php index 964cad67f7..7ef6d849d3 100755 --- a/tests/PHPUnit/Integration/RowEvolutionTest.php +++ b/tests/PHPUnit/Integration/RowEvolutionTest.php @@ -171,6 +171,21 @@ class Test_Piwik_Integration_RowEvolution extends IntegrationTestCase ) )); + // test multi row evolution when there is no data + $return[] = array('API.getRowEvolution', array( + 'testSuffix' => '_multiWithNoData', + 'periods' => 'day', + 'idSite' => $idSite, + 'date' => $today, + 'otherRequestParameters' => array( + 'date' => '2010-04-01,2010-04-06', + 'period' => 'day', + 'apiModule' => 'Referers', + 'apiAction' => 'getWebsites', + // no label + ) + )); + // (non-rowevolution test) test flattener w/ search engines to make sure // queued filters are not applied twice $return[] = array('Referers.getSearchEngines', array( |