diff options
author | Thomas Steur <thomas.steur@gmail.com> | 2015-03-06 05:57:18 +0300 |
---|---|---|
committer | Thomas Steur <thomas.steur@gmail.com> | 2015-03-06 05:57:18 +0300 |
commit | 08e4fd208526b78eba6ff4dc56bad67c485cdb77 (patch) | |
tree | 81b6f4d6f8a96a83fe4b7f932a604e77b9ce024c /tests/PHPUnit/System/BackwardsCompatibility1XTest.php | |
parent | 64872f6e86a6426ff7cc587106fee05fae9d4f4a (diff) |
added a test for expanded and flat. Please not that the expected flat result is wrong, it might work when merging the flattened refactoring
Diffstat (limited to 'tests/PHPUnit/System/BackwardsCompatibility1XTest.php')
-rw-r--r-- | tests/PHPUnit/System/BackwardsCompatibility1XTest.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/PHPUnit/System/BackwardsCompatibility1XTest.php b/tests/PHPUnit/System/BackwardsCompatibility1XTest.php index f22408348d..f4fdaa3c40 100644 --- a/tests/PHPUnit/System/BackwardsCompatibility1XTest.php +++ b/tests/PHPUnit/System/BackwardsCompatibility1XTest.php @@ -146,6 +146,27 @@ class BackwardsCompatibility1XTest extends SystemTestCase array('VisitFrequency.get', array('idSite' => $idSite, 'date' => '2012-03-06,2012-12-31', 'periods' => array('range'), 'disableArchiving' => true)), + array('Actions.getPageUrls', array('idSite' => $idSite, 'date' => '2012-03-06,2012-12-31', + 'otherRequestParameters' => array('expanded' => '1'), + 'testSuffix' => '_expanded', + 'periods' => array('range'), 'disableArchiving' => true)), + + array('Actions.getPageUrls', array('idSite' => $idSite, 'date' => '2012-03-06,2012-12-31', + 'otherRequestParameters' => array('flat' => '1'), + 'testSuffix' => '_flat', + 'periods' => array('range'), 'disableArchiving' => true)), + + array('API.getProcessedReport', array('idSite' => $idSite, 'date' => '2012-03-06', + 'apiModule' => 'Actions', 'apiAction' => 'getPageUrls', + 'otherRequestParameters' => array(), + 'testSuffix' => '_proc', + 'periods' => array('day'), 'disableArchiving' => true)), + + array('Actions.getPageUrls', array('idSite' => $idSite, 'date' => '2012-03-06', + 'otherRequestParameters' => array('depth' => '1'), + 'testSuffix' => '_subtable', + 'periods' => array('day'), 'disableArchiving' => true)), + array('VisitFrequency.get', array('idSite' => $idSite, 'date' => '2012-03-03,2012-12-12', 'periods' => array('month'), 'testSuffix' => '_multipleOldNew', 'disableArchiving' => true)), array($reportsToCompareSeparately, $defaultOptions), |