Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Steur <thomas.steur@gmail.com>2015-06-02 04:09:15 +0300
committerThomas Steur <thomas.steur@gmail.com>2015-06-17 08:09:13 +0300
commit18501381cec766aa729fdc7bdcd282c90a7be45f (patch)
treecf7cfe213d72cbd57ec86e570a5e2a7c4dc55815 /tests/PHPUnit/Framework/Fixture.php
parent1f707dd3c9422494b7cf844591079c11c651158c (diff)
refs #7893 added possibility to measure mobile apps
Diffstat (limited to 'tests/PHPUnit/Framework/Fixture.php')
-rw-r--r--tests/PHPUnit/Framework/Fixture.php11
1 files changed, 9 insertions, 2 deletions
diff --git a/tests/PHPUnit/Framework/Fixture.php b/tests/PHPUnit/Framework/Fixture.php
index f60a43e0c8..f430d1278c 100644
--- a/tests/PHPUnit/Framework/Fixture.php
+++ b/tests/PHPUnit/Framework/Fixture.php
@@ -399,11 +399,13 @@ class Fixture extends \PHPUnit_Framework_Assert
* @param int $siteSearch
* @param null|string $searchKeywordParameters
* @param null|string $searchCategoryParameters
+ * @param null|string $timezone
+ * @param null|string $type eg 'website' or 'mobileapp'
* @return int idSite of website created
*/
public static function createWebsite($dateTime, $ecommerce = 0, $siteName = false, $siteUrl = false,
$siteSearch = 1, $searchKeywordParameters = null,
- $searchCategoryParameters = null, $timezone = null)
+ $searchCategoryParameters = null, $timezone = null, $type = null)
{
if($siteName === false) {
$siteName = self::DEFAULT_SITE_NAME;
@@ -416,7 +418,12 @@ class Fixture extends \PHPUnit_Framework_Assert
$ips = null,
$excludedQueryParameters = null,
$timezone,
- $currency = null
+ $currency = null,
+ $group = null,
+ $startDate = null,
+ $excludedUserAgents = null,
+ $keepURLFragments = null,
+ $type
);
// Manually set the website creation date to a day earlier than the earliest day we record stats for