Piwik unit tests

Some of the tests require a database access. The database used for tests is different from your normal Piwik database. You may need to create this database ; you can edit the settings for the unit tests database access in your config file /config/global.ini.php

The database used in your tests is called "piwik_tests". Create it if necessary.

Run the tests by module


Piwik - running all tests

Piwik - running all tests

array(8) { [0]=> array(2) { ["Variable_name"]=> string(20) "character_set_client" ["Value"]=> string(4) "utf8" } [1]=> array(2) { ["Variable_name"]=> string(24) "character_set_connection" ["Value"]=> string(4) "utf8" } [2]=> array(2) { ["Variable_name"]=> string(22) "character_set_database" ["Value"]=> string(6) "latin1" } [3]=> array(2) { ["Variable_name"]=> string(24) "character_set_filesystem" ["Value"]=> string(6) "binary" } [4]=> array(2) { ["Variable_name"]=> string(21) "character_set_results" ["Value"]=> string(4) "utf8" } [5]=> array(2) { ["Variable_name"]=> string(20) "character_set_server" ["Value"]=> string(6) "latin1" } [6]=> array(2) { ["Variable_name"]=> string(20) "character_set_system" ["Value"]=> string(4) "utf8" } [7]=> array(2) { ["Variable_name"]=> string(18) "character_sets_dir" ["Value"]=> string(26) "/usr/share/mysql/charsets/" } }
Piwik_Url::getCurrentUrl() -> http://unknown/all_tests.php
Piwik_Url::getCurrentUrlWithoutQueryString() -> http://unknown/all_tests.php
Piwik_Url::getCurrentUrlWithoutFileName() -> http://unknown/
Piwik_Url::getCurrentScriptPath() -> /
Piwik_Url::getCurrentHost() -> unknown
Piwik_Url::getCurrentScriptName() -> /all_tests.php
Piwik_Url::getCurrentQueryString() ->
Piwik_Url::getArrayFromCurrentQueryString() -> array(0) { }
Piwik_Url::getCurrentQueryStringWithParametersModified() Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_noVisit -> Equal expectation fails at character 0 with [GIF89a€!ù,D;] and [] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 110]
Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_noVisit -> Response was not the expected GIF image: see above. at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 118]
Exception: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_noVisit -> Unexpected exception of type [Exception] with message [curl_exec: Couldn't resolve host 'tests'] in [/home/apang/work/piwik/dev/trunk/core/Http.php line 338]
Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> Equal expectation fails at character 0 with [GIF89a€!ù,D;] and [] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 110]
Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> Response was not the expected GIF image: see above. at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 118]
Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> Equal expectation fails at character 0 with [GIF89a€!ù,D;] and [] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 110]
Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> Response was not the expected GIF image: see above. at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 118]
Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> Equal expectation fails at character 0 with [GIF89a€!ù,D;] and [] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 110]
Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> Response was not the expected GIF image: see above. at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 118]
Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> Equal expectation fails at character 0 with [GIF89a€!ù,D;] and [] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 110]
Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> Response was not the expected GIF image: see above. at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 118]
Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> Equal expectation fails at character 0 with [GIF89a€!ù,D;] and [] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 110]
Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> Response was not the expected GIF image: see above. at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 118]
Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> Equal expectation fails at character 0 with [GIF89a€!ù,D;] and [] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 110]
Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> Response was not the expected GIF image: see above. at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 118]
Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> Equal expectation fails at character 0 with [GIF89a€!ù,D;] and [] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 110]
Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> Response was not the expected GIF image: see above. at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 118]
Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> In test_OneVisitorTwoVisits__Actions.getPageUrls_day.xml, Equal expectation fails at character 47 with [<?xml version="1.0" encoding="utf-8" ?> <result />] and [<?xml version="1.0" encoding="utf-8" ?> <result> <row> <label>store</label> <nb_visits>1</nb_visits> <nb_hits>1</nb_hits> <sum_time_spent>0</sum_time_spent> <entry_nb_visits>1</entry_nb_vis...] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 339]
string(75) "ERROR FORActions.getPageUrls_day.xml -- FETCHED RESPONSE, EXPECTED RESPONSE" string(50) " " string(1999) " 1 1 0 1 1 0 1 1 0 100% 100% 53 1 1 1 0 1 1 1 0 1 1 1 http://example.org/store/purchase.htm 1 1 1 180 180 0% 0% http://example.org/ 1 1 1 180 1 1 4 1440 0 180 0% 0% http://example.org/index.htm " Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> In test_OneVisitorTwoVisits__Actions.getPageTitles_day.xml, Equal expectation fails at character 47 with [<?xml version="1.0" encoding="utf-8" ?> <result />] and [<?xml version="1.0" encoding="utf-8" ?> <result> <row> <label> Purchasing...</label> <nb_visits>1</nb_visits> <nb_uniq_visitors>1</nb_uniq_visitors> <nb_hits>1</nb_hits> </row> <row> <lab...] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 339]
string(77) "ERROR FORActions.getPageTitles_day.xml -- FETCHED RESPONSE, EXPECTED RESPONSE" string(50) " " string(509) " 1 1 1 1 1 1 1 1 1 " Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> In test_OneVisitorTwoVisits__Actions.getDownloads_day.xml, Equal expectation fails at character 47 with [<?xml version="1.0" encoding="utf-8" ?> <result />] and [<?xml version="1.0" encoding="utf-8" ?> <result> <row> <label>piwik.org</label> <nb_visits>1</nb_visits> <nb_hits>1</nb_hits> <exit_nb_visits>1</exit_nb_visits> <idsubdatatable>55</idsubdat...] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 339]
string(76) "ERROR FORActions.getDownloads_day.xml -- FETCHED RESPONSE, EXPECTED RESPONSE" string(50) " " string(535) " 1 1 1 55 1 1 1 1 1 http://piwik.org/latest.zip " Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> In test_OneVisitorTwoVisits__Actions.getOutlinks_day.xml, Equal expectation fails at character 47 with [<?xml version="1.0" encoding="utf-8" ?> <result />] and [<?xml version="1.0" encoding="utf-8" ?> <result> <row> <label>dev.piwik.org</label> <nb_visits>1</nb_visits> <nb_hits>1</nb_hits> <sum_time_spent>360</sum_time_spent> <idsubdatatable>57</id...] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 339]
string(75) "ERROR FORActions.getOutlinks_day.xml -- FETCHED RESPONSE, EXPECTED RESPONSE" string(50) " " string(480) " 1 1 360 57 1 1 1 360 http://dev.piwik.org/svn " Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> In test_OneVisitorTwoVisits__Referers.getRefererType_day.xml, Equal expectation fails at character 47 with [<?xml version="1.0" encoding="utf-8" ?> <result />] and [<?xml version="1.0" encoding="utf-8" ?> <result> <row> <label>Search Engines</label> <nb_uniq_visitors>1</nb_uniq_visitors> <nb_visits>1</nb_visits> <nb_actions>1</nb_actions> <max_actions>...] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 339]
string(79) "ERROR FORReferers.getRefererType_day.xml -- FETCHED RESPONSE, EXPECTED RESPONSE" string(50) " " string(1044) " 1 1 1 1 0 1 1 1 1 1 1 1 1 4 4 1440 0 1 1 42 1 42 " Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> In test_OneVisitorTwoVisits__Referers.getKeywords_day.xml, Equal expectation fails at character 47 with [<?xml version="1.0" encoding="utf-8" ?> <result />] and [<?xml version="1.0" encoding="utf-8" ?> <result> <row> <label>purchase</label> <nb_uniq_visitors>1</nb_uniq_visitors> <nb_visits>1</nb_visits> <nb_actions>1</nb_actions> <max_actions>1</max...] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 339]
string(76) "ERROR FORReferers.getKeywords_day.xml -- FETCHED RESPONSE, EXPECTED RESPONSE" string(50) " " string(896) " 1 1 1 1 0 1 1 1 1 1 1 76 1 1 1 1 0 1 1 " Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> In test_OneVisitorTwoVisits__Referers.getSearchEngines_day.xml, Equal expectation fails at character 47 with [<?xml version="1.0" encoding="utf-8" ?> <result />] and [<?xml version="1.0" encoding="utf-8" ?> <result> <row> <label>Yahoo!</label> <nb_uniq_visitors>1</nb_uniq_visitors> <nb_visits>1</nb_visits> <nb_actions>1</nb_actions> <max_actions>1</max_a...] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 339]
string(81) "ERROR FORReferers.getSearchEngines_day.xml -- FETCHED RESPONSE, EXPECTED RESPONSE" string(50) " " string(1007) " 1 1 1 1 0 1 1 1 1 1 1 74 http://search.yahoo.com plugins/Referers/images/searchEngines/search.yahoo.com.png 1 1 1 1 0 1 1 " Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> In test_OneVisitorTwoVisits__Referers.getWebsites_day.xml, Equal expectation fails at character 47 with [<?xml version="1.0" encoding="utf-8" ?> <result />] and [<?xml version="1.0" encoding="utf-8" ?> <result> <row> <label>referer.com</label> <nb_uniq_visitors>1</nb_uniq_visitors> <nb_visits>1</nb_visits> <nb_actions>4</nb_actions> <max_actions>4</...] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 339]
string(76) "ERROR FORReferers.getWebsites_day.xml -- FETCHED RESPONSE, EXPECTED RESPONSE" string(50) " " string(779) " 1 1 4 4 1440 0 1 79 1 1 4 4 1440 0 1 " Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> In test_OneVisitorTwoVisits__Referers.getNumberOfDistinctSearchEngines_day.xml, Equal expectation fails at character 48 with [<?xml version="1.0" encoding="utf-8" ?> <result>0</result>] and [<?xml version="1.0" encoding="utf-8" ?> <result>1</result>] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 339]
string(97) "ERROR FORReferers.getNumberOfDistinctSearchEngines_day.xml -- FETCHED RESPONSE, EXPECTED RESPONSE" string(58) " 0" string(58) " 1" Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> In test_OneVisitorTwoVisits__Referers.getNumberOfDistinctKeywords_day.xml, Equal expectation fails at character 48 with [<?xml version="1.0" encoding="utf-8" ?> <result>0</result>] and [<?xml version="1.0" encoding="utf-8" ?> <result>1</result>] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 339]
string(92) "ERROR FORReferers.getNumberOfDistinctKeywords_day.xml -- FETCHED RESPONSE, EXPECTED RESPONSE" string(58) " 0" string(58) " 1" Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> In test_OneVisitorTwoVisits__Referers.getNumberOfDistinctWebsites_day.xml, Equal expectation fails at character 48 with [<?xml version="1.0" encoding="utf-8" ?> <result>0</result>] and [<?xml version="1.0" encoding="utf-8" ?> <result>1</result>] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 339]
string(92) "ERROR FORReferers.getNumberOfDistinctWebsites_day.xml -- FETCHED RESPONSE, EXPECTED RESPONSE" string(58) " 0" string(58) " 1" Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> In test_OneVisitorTwoVisits__Referers.getNumberOfDistinctWebsitesUrls_day.xml, Equal expectation fails at character 48 with [<?xml version="1.0" encoding="utf-8" ?> <result>0</result>] and [<?xml version="1.0" encoding="utf-8" ?> <result>1</result>] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 339]
string(96) "ERROR FORReferers.getNumberOfDistinctWebsitesUrls_day.xml -- FETCHED RESPONSE, EXPECTED RESPONSE" string(58) " 0" string(58) " 1" Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> In test_OneVisitorTwoVisits__UserSettings.getResolution_day.xml, Equal expectation fails at character 47 with [<?xml version="1.0" encoding="utf-8" ?> <result />] and [<?xml version="1.0" encoding="utf-8" ?> <result> <row> <label>1024x768</label> <nb_uniq_visitors>1</nb_uniq_visitors> <nb_visits>2</nb_visits> <nb_actions>5</nb_actions> <max_actions>4</max...] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 339]
string(82) "ERROR FORUserSettings.getResolution_day.xml -- FETCHED RESPONSE, EXPECTED RESPONSE" string(50) " " string(351) " 1 2 5 4 1440 1 2 " Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> In test_OneVisitorTwoVisits__UserSettings.getConfiguration_day.xml, Equal expectation fails at character 47 with [<?xml version="1.0" encoding="utf-8" ?> <result />] and [<?xml version="1.0" encoding="utf-8" ?> <result> <row> <label>Windows XP / Firefox / 1024x768</label> <nb_uniq_visitors>1</nb_uniq_visitors> <nb_visits>2</nb_visits> <nb_actions>5</nb_actions...] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 339]
string(85) "ERROR FORUserSettings.getConfiguration_day.xml -- FETCHED RESPONSE, EXPECTED RESPONSE" string(50) " " string(374) " 1 2 5 4 1440 1 2 " Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> In test_OneVisitorTwoVisits__UserSettings.getOS_day.xml, Equal expectation fails at character 47 with [<?xml version="1.0" encoding="utf-8" ?> <result />] and [<?xml version="1.0" encoding="utf-8" ?> <result> <row> <label>Windows XP</label> <nb_uniq_visitors>1</nb_uniq_visitors> <nb_visits>2</nb_visits> <nb_actions>5</nb_actions> <max_actions>4</m...] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 339]
string(74) "ERROR FORUserSettings.getOS_day.xml -- FETCHED RESPONSE, EXPECTED RESPONSE" string(50) " " string(441) " 1 2 5 4 1440 1 2 plugins/UserSettings/images/os/WXP.gif Win XP " Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> In test_OneVisitorTwoVisits__UserSettings.getBrowser_day.xml, Equal expectation fails at character 47 with [<?xml version="1.0" encoding="utf-8" ?> <result />] and [<?xml version="1.0" encoding="utf-8" ?> <result> <row> <label>Firefox 3.6</label> <nb_uniq_visitors>1</nb_uniq_visitors> <nb_visits>2</nb_visits> <nb_actions>5</nb_actions> <max_actions>4</...] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 339]
string(79) "ERROR FORUserSettings.getBrowser_day.xml -- FETCHED RESPONSE, EXPECTED RESPONSE" string(50) " " string(452) " 1 2 5 4 1440 1 2 plugins/UserSettings/images/browsers/FF.gif Firefox 3.6 " Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> In test_OneVisitorTwoVisits__UserSettings.getBrowserType_day.xml, Equal expectation fails at character 47 with [<?xml version="1.0" encoding="utf-8" ?> <result />] and [<?xml version="1.0" encoding="utf-8" ?> <result> <row> <label>Gecko (Firefox)</label> <nb_uniq_visitors>1</nb_uniq_visitors> <nb_visits>2</nb_visits> <nb_actions>5</nb_actions> <max_actions...] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 339]
string(83) "ERROR FORUserSettings.getBrowserType_day.xml -- FETCHED RESPONSE, EXPECTED RESPONSE" string(50) " " string(391) " 1 2 5 4 1440 1 2 Gecko " Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> In test_OneVisitorTwoVisits__UserSettings.getWideScreen_day.xml, Equal expectation fails at character 47 with [<?xml version="1.0" encoding="utf-8" ?> <result />] and [<?xml version="1.0" encoding="utf-8" ?> <result> <row> <label>Normal</label> <nb_uniq_visitors>1</nb_uniq_visitors> <nb_visits>2</nb_visits> <nb_actions>5</nb_actions> <max_actions>4</max_a...] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 339]
string(82) "ERROR FORUserSettings.getWideScreen_day.xml -- FETCHED RESPONSE, EXPECTED RESPONSE" string(50) " " string(411) " 1 2 5 4 1440 1 2 plugins/UserSettings/images/screens/normal.gif " Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> In test_OneVisitorTwoVisits__UserSettings.getPlugin_day.xml, Equal expectation fails at character 47 with [<?xml version="1.0" encoding="utf-8" ?> <result />] and [<?xml version="1.0" encoding="utf-8" ?> <result> <row> <label>Cookie</label> <nb_visits>2</nb_visits> <logo>plugins/UserSettings/images/plugins/cookie.gif</logo> </row> <row> <label>Java</l...] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 339]
string(78) "ERROR FORUserSettings.getPlugin_day.xml -- FETCHED RESPONSE, EXPECTED RESPONSE" string(50) " " string(1364) " 2 plugins/UserSettings/images/plugins/cookie.gif 2 plugins/UserSettings/images/plugins/java.gif 2 plugins/UserSettings/images/plugins/flash.gif 0 plugins/UserSettings/images/plugins/gears.gif 0 plugins/UserSettings/images/plugins/silverlight.gif 0 plugins/UserSettings/images/plugins/windowsmedia.gif 0 plugins/UserSettings/images/plugins/quicktime.gif 0 plugins/UserSettings/images/plugins/director.gif 0 plugins/UserSettings/images/plugins/pdf.gif 0 plugins/UserSettings/images/plugins/realplayer.gif " Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> In test_OneVisitorTwoVisits__Goals.getConversionRateReturningVisitors_day.xml, Equal expectation fails at character 48 with [<?xml version="1.0" encoding="utf-8" ?> <result>0</result>] and [<?xml version="1.0" encoding="utf-8" ?> <result>100</result>] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 339]
string(96) "ERROR FORGoals.getConversionRateReturningVisitors_day.xml -- FETCHED RESPONSE, EXPECTED RESPONSE" string(58) " 0" string(60) " 100" Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> In test_OneVisitorTwoVisits__Goals.getConversionRateNewVisitors_day.xml, Equal expectation fails at character 48 with [<?xml version="1.0" encoding="utf-8" ?> <result>0</result>] and [<?xml version="1.0" encoding="utf-8" ?> <result>100</result>] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 339]
string(90) "ERROR FORGoals.getConversionRateNewVisitors_day.xml -- FETCHED RESPONSE, EXPECTED RESPONSE" string(58) " 0" string(60) " 100" Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> In test_OneVisitorTwoVisits__Goals.get_day.xml, Equal expectation fails at character 71 with [<?xml version="1.0" encoding="utf-8" ?> <result> <Goal_nb_conversions>0</Goal_nb_conversions> <Goal_conversion_rate>0</Goal_conversion_rate> <Goal_revenue>0</Goal_revenue> </result>] and [<?xml version="1.0" encoding="utf-8" ?> <result> <Goal_nb_conversions>2</Goal_nb_conversions> <Goal_conversion_rate>100</Goal_conversion_rate> <Goal_revenue>43</Goal_revenue> </result>] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 339]
string(65) "ERROR FORGoals.get_day.xml -- FETCHED RESPONSE, EXPECTED RESPONSE" string(184) " 0 0 0 " string(187) " 2 100 43 " Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> In test_OneVisitorTwoVisits__Goals.getConversions_day.xml, Equal expectation fails at character 48 with [<?xml version="1.0" encoding="utf-8" ?> <result>0</result>] and [<?xml version="1.0" encoding="utf-8" ?> <result>2</result>] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 339]
string(76) "ERROR FORGoals.getConversions_day.xml -- FETCHED RESPONSE, EXPECTED RESPONSE" string(58) " 0" string(58) " 2" Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> In test_OneVisitorTwoVisits__Goals.getConversionRate_day.xml, Equal expectation fails at character 48 with [<?xml version="1.0" encoding="utf-8" ?> <result>0</result>] and [<?xml version="1.0" encoding="utf-8" ?> <result>100</result>] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 339]
string(79) "ERROR FORGoals.getConversionRate_day.xml -- FETCHED RESPONSE, EXPECTED RESPONSE" string(58) " 0" string(60) " 100" Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> In test_OneVisitorTwoVisits__Goals.getRevenue_day.xml, Equal expectation fails at character 48 with [<?xml version="1.0" encoding="utf-8" ?> <result>0</result>] and [<?xml version="1.0" encoding="utf-8" ?> <result>43</result>] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 339]
string(72) "ERROR FORGoals.getRevenue_day.xml -- FETCHED RESPONSE, EXPECTED RESPONSE" string(58) " 0" string(59) " 43" Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> In test_OneVisitorTwoVisits__UserCountry.getCountry_day.xml, Equal expectation fails at character 47 with [<?xml version="1.0" encoding="utf-8" ?> <result />] and [<?xml version="1.0" encoding="utf-8" ?> <result> <row> <label>France</label> <nb_uniq_visitors>1</nb_uniq_visitors> <nb_visits>2</nb_visits> <nb_actions>5</nb_actions> <max_actions>4</max_a...] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 339]
string(78) "ERROR FORUserCountry.getCountry_day.xml -- FETCHED RESPONSE, EXPECTED RESPONSE" string(50) " " string(744) " 1 2 5 4 1440 1 2 1 42 1 1 2 43 fr plugins/UserCountry/flags/fr.png 18 12 " Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> In test_OneVisitorTwoVisits__UserCountry.getContinent_day.xml, Equal expectation fails at character 47 with [<?xml version="1.0" encoding="utf-8" ?> <result />] and [<?xml version="1.0" encoding="utf-8" ?> <result> <row> <label>Europe</label> <nb_uniq_visitors>1</nb_uniq_visitors> <nb_visits>2</nb_visits> <nb_actions>5</nb_actions> <max_actions>4</max_a...] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 339]
string(80) "ERROR FORUserCountry.getContinent_day.xml -- FETCHED RESPONSE, EXPECTED RESPONSE" string(50) " " string(642) " 1 2 5 4 1440 1 2 1 42 1 1 2 43 Europe " Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> In test_OneVisitorTwoVisits__UserCountry.getNumberOfDistinctCountries_day.xml, Equal expectation fails at character 48 with [<?xml version="1.0" encoding="utf-8" ?> <result>0</result>] and [<?xml version="1.0" encoding="utf-8" ?> <result>1</result>] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 339]
string(96) "ERROR FORUserCountry.getNumberOfDistinctCountries_day.xml -- FETCHED RESPONSE, EXPECTED RESPONSE" string(58) " 0" string(58) " 1" Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> In test_OneVisitorTwoVisits__VisitsSummary.get_day.xml, Equal expectation fails at character 63 with [<?xml version="1.0" encoding="utf-8" ?> <result> <max_actions>0</max_actions> <nb_uniq_visitors>0</nb_uniq_visitors> <nb_visits>0</nb_visits> <nb_actions>0</nb_actions> <sum_visit_length>0</sum_v...] and [<?xml version="1.0" encoding="utf-8" ?> <result> <max_actions>4</max_actions> <nb_uniq_visitors>1</nb_uniq_visitors> <nb_visits>2</nb_visits> <nb_actions>5</nb_actions> <sum_visit_length>1440</su...] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 339]
string(73) "ERROR FORVisitsSummary.get_day.xml -- FETCHED RESPONSE, EXPECTED RESPONSE" string(300) " 0 0 0 0 0 0 0 " string(303) " 4 1 2 5 1440 1 2 " Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> In test_OneVisitorTwoVisits__VisitsSummary.getVisits_day.xml, Equal expectation fails at character 48 with [<?xml version="1.0" encoding="utf-8" ?> <result>0</result>] and [<?xml version="1.0" encoding="utf-8" ?> <result>2</result>] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 339]
string(79) "ERROR FORVisitsSummary.getVisits_day.xml -- FETCHED RESPONSE, EXPECTED RESPONSE" string(58) " 0" string(58) " 2" Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> In test_OneVisitorTwoVisits__VisitsSummary.getUniqueVisitors_day.xml, Equal expectation fails at character 48 with [<?xml version="1.0" encoding="utf-8" ?> <result>0</result>] and [<?xml version="1.0" encoding="utf-8" ?> <result>1</result>] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 339]
string(87) "ERROR FORVisitsSummary.getUniqueVisitors_day.xml -- FETCHED RESPONSE, EXPECTED RESPONSE" string(58) " 0" string(58) " 1" Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> In test_OneVisitorTwoVisits__VisitsSummary.getActions_day.xml, Equal expectation fails at character 48 with [<?xml version="1.0" encoding="utf-8" ?> <result>0</result>] and [<?xml version="1.0" encoding="utf-8" ?> <result>5</result>] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 339]
string(80) "ERROR FORVisitsSummary.getActions_day.xml -- FETCHED RESPONSE, EXPECTED RESPONSE" string(58) " 0" string(58) " 5" Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> In test_OneVisitorTwoVisits__VisitsSummary.getMaxActions_day.xml, Equal expectation fails at character 48 with [<?xml version="1.0" encoding="utf-8" ?> <result>0</result>] and [<?xml version="1.0" encoding="utf-8" ?> <result>4</result>] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 339]
string(83) "ERROR FORVisitsSummary.getMaxActions_day.xml -- FETCHED RESPONSE, EXPECTED RESPONSE" string(58) " 0" string(58) " 4" Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> In test_OneVisitorTwoVisits__VisitsSummary.getBounceCount_day.xml, Equal expectation fails at character 48 with [<?xml version="1.0" encoding="utf-8" ?> <result>0</result>] and [<?xml version="1.0" encoding="utf-8" ?> <result>1</result>] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 339]
string(84) "ERROR FORVisitsSummary.getBounceCount_day.xml -- FETCHED RESPONSE, EXPECTED RESPONSE" string(58) " 0" string(58) " 1" Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> In test_OneVisitorTwoVisits__VisitsSummary.getVisitsConverted_day.xml, Equal expectation fails at character 48 with [<?xml version="1.0" encoding="utf-8" ?> <result>0</result>] and [<?xml version="1.0" encoding="utf-8" ?> <result>2</result>] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 339]
string(88) "ERROR FORVisitsSummary.getVisitsConverted_day.xml -- FETCHED RESPONSE, EXPECTED RESPONSE" string(58) " 0" string(58) " 2" Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> In test_OneVisitorTwoVisits__VisitsSummary.getSumVisitsLength_day.xml, Equal expectation fails at character 48 with [<?xml version="1.0" encoding="utf-8" ?> <result>0</result>] and [<?xml version="1.0" encoding="utf-8" ?> <result>1440</result>] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 339]
string(88) "ERROR FORVisitsSummary.getSumVisitsLength_day.xml -- FETCHED RESPONSE, EXPECTED RESPONSE" string(58) " 0" string(61) " 1440" Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> In test_OneVisitorTwoVisits__VisitsSummary.getSumVisitsLengthPretty_day.xml, Equal expectation fails at character 48 with [<?xml version="1.0" encoding="utf-8" ?> <result>0s</result>] and [<?xml version="1.0" encoding="utf-8" ?> <result>24 min 0s</result>] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 339]
string(94) "ERROR FORVisitsSummary.getSumVisitsLengthPretty_day.xml -- FETCHED RESPONSE, EXPECTED RESPONSE" string(59) " 0s" string(68) " 24Β minΒ 0s" Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> In test_OneVisitorTwoVisits__VisitFrequency.get_day.xml, Equal expectation fails at character 78 with [<?xml version="1.0" encoding="utf-8" ?> <result> <nb_uniq_visitors_returning>0</nb_uniq_visitors_returning> <nb_visits_returning>0</nb_visits_returning> <nb_actions_returning>0</nb_actions_returnin...] and [<?xml version="1.0" encoding="utf-8" ?> <result> <nb_uniq_visitors_returning>1</nb_uniq_visitors_returning> <nb_visits_returning>1</nb_visits_returning> <nb_actions_returning>1</nb_actions_returnin...] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 339]
string(74) "ERROR FORVisitFrequency.get_day.xml -- FETCHED RESPONSE, EXPECTED RESPONSE" string(440) " 0 0 0 0 0 0 0 " string(440) " 1 1 1 1 0 1 1 " Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> In test_OneVisitorTwoVisits__VisitFrequency.getVisitsReturning_day.xml, Equal expectation fails at character 48 with [<?xml version="1.0" encoding="utf-8" ?> <result>0</result>] and [<?xml version="1.0" encoding="utf-8" ?> <result>1</result>] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 339]
string(89) "ERROR FORVisitFrequency.getVisitsReturning_day.xml -- FETCHED RESPONSE, EXPECTED RESPONSE" string(58) " 0" string(58) " 1" Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> In test_OneVisitorTwoVisits__VisitFrequency.getActionsReturning_day.xml, Equal expectation fails at character 48 with [<?xml version="1.0" encoding="utf-8" ?> <result>0</result>] and [<?xml version="1.0" encoding="utf-8" ?> <result>1</result>] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 339]
string(90) "ERROR FORVisitFrequency.getActionsReturning_day.xml -- FETCHED RESPONSE, EXPECTED RESPONSE" string(58) " 0" string(58) " 1" Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> In test_OneVisitorTwoVisits__VisitFrequency.getMaxActionsReturning_day.xml, Equal expectation fails at character 48 with [<?xml version="1.0" encoding="utf-8" ?> <result>0</result>] and [<?xml version="1.0" encoding="utf-8" ?> <result>1</result>] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 339]
string(93) "ERROR FORVisitFrequency.getMaxActionsReturning_day.xml -- FETCHED RESPONSE, EXPECTED RESPONSE" string(58) " 0" string(58) " 1" Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> In test_OneVisitorTwoVisits__VisitFrequency.getBounceCountReturning_day.xml, Equal expectation fails at character 48 with [<?xml version="1.0" encoding="utf-8" ?> <result>0</result>] and [<?xml version="1.0" encoding="utf-8" ?> <result>1</result>] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 339]
string(94) "ERROR FORVisitFrequency.getBounceCountReturning_day.xml -- FETCHED RESPONSE, EXPECTED RESPONSE" string(58) " 0" string(58) " 1" Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> In test_OneVisitorTwoVisits__VisitFrequency.getConvertedVisitsReturning_day.xml, Equal expectation fails at character 48 with [<?xml version="1.0" encoding="utf-8" ?> <result>0</result>] and [<?xml version="1.0" encoding="utf-8" ?> <result>1</result>] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 339]
string(98) "ERROR FORVisitFrequency.getConvertedVisitsReturning_day.xml -- FETCHED RESPONSE, EXPECTED RESPONSE" string(58) " 0" string(58) " 1" Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> In test_OneVisitorTwoVisits__VisitTime.getVisitInformationPerLocalTime_day.xml, Equal expectation fails at character 47 with [<?xml version="1.0" encoding="utf-8" ?> <result />] and [<?xml version="1.0" encoding="utf-8" ?> <result> <row> <label>0h</label> <nb_uniq_visitors>0</nb_uniq_visitors> <nb_visits>0</nb_visits> <nb_actions>0</nb_actions> <max_actions>0</max_actio...] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 339]
string(97) "ERROR FORVisitTime.getVisitInformationPerLocalTime_day.xml -- FETCHED RESPONSE, EXPECTED RESPONSE" string(50) " " string(6891) " 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 2 5 4 1440 1 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 " Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> In test_OneVisitorTwoVisits__VisitTime.getVisitInformationPerServerTime_day.xml, Equal expectation fails at character 47 with [<?xml version="1.0" encoding="utf-8" ?> <result />] and [<?xml version="1.0" encoding="utf-8" ?> <result> <row> <label>0h</label> <nb_uniq_visitors>0</nb_uniq_visitors> <nb_visits>0</nb_visits> <nb_actions>0</nb_actions> <max_actions>0</max_actio...] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 339]
string(98) "ERROR FORVisitTime.getVisitInformationPerServerTime_day.xml -- FETCHED RESPONSE, EXPECTED RESPONSE" string(50) " " string(7243) " 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 4 4 1440 0 1 1 42 1 42 1 1 1 1 0 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 " Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> In test_OneVisitorTwoVisits__VisitorInterest.getNumberOfVisitsPerVisitDuration_day.xml, Equal expectation fails at character 47 with [<?xml version="1.0" encoding="utf-8" ?> <result />] and [<?xml version="1.0" encoding="utf-8" ?> <result> <row> <label>0-30s</label> <nb_visits>1</nb_visits> </row> <row> <label>30-60s</label> <nb_visits>0</nb_visits> </row> <row> <label>1-2 ...] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 339]
string(105) "ERROR FORVisitorInterest.getNumberOfVisitsPerVisitDuration_day.xml -- FETCHED RESPONSE, EXPECTED RESPONSE" string(50) " " string(661) " 1 0 0 0 0 0 0 0 1 " Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> In test_OneVisitorTwoVisits__VisitorInterest.getNumberOfVisitsPerPage_day.xml, Equal expectation fails at character 47 with [<?xml version="1.0" encoding="utf-8" ?> <result />] and [<?xml version="1.0" encoding="utf-8" ?> <result> <row> <label>1 page</label> <nb_visits>1</nb_visits> </row> <row> <label>2 pages</label> <nb_visits>0</nb_visits> </row> <row> <label>3 ...] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 339]
string(96) "ERROR FORVisitorInterest.getNumberOfVisitsPerPage_day.xml -- FETCHED RESPONSE, EXPECTED RESPONSE" string(50) " " string(742) " 1 0 0 1 0 0 0 0 0 0 " Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_OneVisitorTwoVisits -> In test_OneVisitorTwoVisits__Provider.getProvider_day.xml, Equal expectation fails at character 47 with [<?xml version="1.0" encoding="utf-8" ?> <result />] and [<?xml version="1.0" encoding="utf-8" ?> <result> <row> <label>IP</label> <nb_uniq_visitors>1</nb_uniq_visitors> <nb_visits>2</nb_visits> <nb_actions>5</nb_actions> <max_actions>4</max_actio...] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 339]
string(76) "ERROR FORProvider.getProvider_day.xml -- FETCHED RESPONSE, EXPECTED RESPONSE" string(50) " " string(395) " 1 2 5 4 1440 1 2 http://piwik.org/faq/general/#faq_52 " Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_TwoVisitors_twoWebsites_differentDays -> Equal expectation fails at character 0 with [GIF89a€!ù,D;] and [] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 110]
Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_TwoVisitors_twoWebsites_differentDays -> Response was not the expected GIF image: see above. at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 118]
Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_TwoVisitors_twoWebsites_differentDays -> Equal expectation fails at character 0 with [GIF89a€!ù,D;] and [] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 110]
Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_TwoVisitors_twoWebsites_differentDays -> Response was not the expected GIF image: see above. at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 118]
Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_TwoVisitors_twoWebsites_differentDays -> Equal expectation fails at character 0 with [GIF89a€!ù,D;] and [] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 110]
Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_TwoVisitors_twoWebsites_differentDays -> Response was not the expected GIF image: see above. at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 118]
Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_TwoVisitors_twoWebsites_differentDays -> Equal expectation fails at character 0 with [GIF89a€!ù,D;] and [] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 110]
Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_TwoVisitors_twoWebsites_differentDays -> Response was not the expected GIF image: see above. at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 118]
Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_TwoVisitors_twoWebsites_differentDays -> In test_TwoVisitors_twoWebsites_differentDays__Referers.getWebsites_day.xml, Equal expectation fails at character 98 with [<?xml version="1.0" encoding="utf-8" ?> <results> <result idSite="1"> <result date="2010-01-03" /> <result date="2010-01-04" /> <result date="2010-01-05" /> <result date="2010-01-06" /> <re...] and [<?xml version="1.0" encoding="utf-8" ?> <results> <result idSite="1"> <result date="2010-01-03"> <row> <label>referer.com</label> <nb_uniq_visitors>1</nb_uniq_visitors> <nb_visits>1<...] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 339]
string(76) "ERROR FORReferers.getWebsites_day.xml -- FETCHED RESPONSE, EXPECTED RESPONSE" string(558) " " string(2841) " 1 1 1 1 0 1 0 80 1 1 1 1 0 1 0 1 1 2 2 0 0 0 22 1 1 2 2 0 0 0 1 1 1 1 0 1 0 22 1 1 1 1 0 1 0 " Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_TwoVisitors_twoWebsites_differentDays -> In test_TwoVisitors_twoWebsites_differentDays__Referers.getWebsites_week.xml, Equal expectation fails at character 112 with [...n="1.0" encoding="utf-8" ?> <results> <result idSite="1"> <result date="2009-12-28 to 2010-01-03" /> <result date="2010-01-04 to 2010-01-10" /> <result date="2010-01-11 to 2010-01-17" /> <res...] and [...n="1.0" encoding="utf-8" ?> <results> <result idSite="1"> <result date="2009-12-28 to 2010-01-03"> <row> <label>referer.com</label> <nb_visits>1</nb_visits> <nb_actions>1</nb_actions...] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 339]
string(77) "ERROR FORReferers.getWebsites_week.xml -- FETCHED RESPONSE, EXPECTED RESPONSE" string(754) " " string(3157) " 1 1 1 0 1 0 1 40 1 1 1 0 1 0 1 1 2 2 0 0 0 1 35 1 2 2 0 0 0 1 1 1 1 0 1 0 1 34 1 1 1 0 1 0 1 " Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_TwoVisitors_twoWebsites_differentDays -> In test_TwoVisitors_twoWebsites_differentDays__Referers.getWebsites_month.xml, Equal expectation fails at character 95 with [<?xml version="1.0" encoding="utf-8" ?> <results> <result idSite="1"> <result date="2010-01" /> <result date="2010-02" /> <result date="2010-03" /> <result date="2010-04" /> <result date="2...] and [<?xml version="1.0" encoding="utf-8" ?> <results> <result idSite="1"> <result date="2010-01"> <row> <label>referer.com</label> <nb_visits>2</nb_visits> <nb_actions>3</nb_actions> ...] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 339]
string(78) "ERROR FORReferers.getWebsites_month.xml -- FETCHED RESPONSE, EXPECTED RESPONSE" string(516) " " string(2507) " 2 3 2 0 1 0 2 132 1 2 2 0 0 0 1 1 1 1 0 1 0 1 1 1 1 0 1 0 1 133 1 1 1 0 1 0 1 " Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_TwoVisitors_twoWebsites_differentDays -> In test_TwoVisitors_twoWebsites_differentDays__Referers.getWebsites_year.xml, Equal expectation fails at character 92 with [<?xml version="1.0" encoding="utf-8" ?> <results> <result idSite="1"> <result date="2010" /> <result date="2011" /> <result date="2012" /> <result date="2013" /> <result date="2014" /> <r...] and [<?xml version="1.0" encoding="utf-8" ?> <results> <result idSite="1"> <result date="2010"> <row> <label>referer.com</label> <nb_visits>2</nb_visits> <nb_actions>3</nb_actions> <m...] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 339]
string(77) "ERROR FORReferers.getWebsites_year.xml -- FETCHED RESPONSE, EXPECTED RESPONSE" string(474) " " string(2463) " 2 3 2 0 1 0 2 54 1 2 2 0 0 0 1 1 1 1 0 1 0 1 1 1 1 0 1 0 1 54 1 1 1 0 1 0 1 " Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_TwoVisitors_twoWebsites_differentDays -> In test_TwoVisitors_twoWebsites_differentDays__VisitsSummary.get_day.xml, Equal expectation fails at character 98 with [<?xml version="1.0" encoding="utf-8" ?> <results> <result idSite="1"> <result date="2010-01-03" /> <result date="2010-01-04" /> <result date="2010-01-05" /> <result date="2010-01-06" /> <re...] and [<?xml version="1.0" encoding="utf-8" ?> <results> <result idSite="1"> <result date="2010-01-03"> <nb_uniq_visitors>2</nb_uniq_visitors> <nb_visits>2</nb_visits> <nb_actions>2</nb_actions> ...] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 339]
string(73) "ERROR FORVisitsSummary.get_day.xml -- FETCHED RESPONSE, EXPECTED RESPONSE" string(558) " " string(1052) " 2 2 2 1 2 1 1 2 2 1 1 1 1 1 " Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_TwoVisitors_twoWebsites_differentDays -> In test_TwoVisitors_twoWebsites_differentDays__VisitsSummary.get_week.xml, Equal expectation fails at character 112 with [...n="1.0" encoding="utf-8" ?> <results> <result idSite="1"> <result date="2009-12-28 to 2010-01-03" /> <result date="2010-01-04 to 2010-01-10" /> <result date="2010-01-11 to 2010-01-17" /> <res...] and [...n="1.0" encoding="utf-8" ?> <results> <result idSite="1"> <result date="2009-12-28 to 2010-01-03"> <bounce_count>2</bounce_count> <max_actions>1</max_actions> <nb_actions>2</nb_actions> ...] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 339]
string(74) "ERROR FORVisitsSummary.get_week.xml -- FETCHED RESPONSE, EXPECTED RESPONSE" string(754) " " string(1248) " 2 1 2 2 2 2 2 1 1 1 1 1 1 1 " Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_TwoVisitors_twoWebsites_differentDays -> In test_TwoVisitors_twoWebsites_differentDays__VisitsSummary.get_month.xml, Equal expectation fails at character 95 with [<?xml version="1.0" encoding="utf-8" ?> <results> <result idSite="1"> <result date="2010-01" /> <result date="2010-02" /> <result date="2010-03" /> <result date="2010-04" /> <result date="2...] and [<?xml version="1.0" encoding="utf-8" ?> <results> <result idSite="1"> <result date="2010-01"> <bounce_count>2</bounce_count> <max_actions>2</max_actions> <nb_actions>4</nb_actions> <nb_...] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 339]
string(75) "ERROR FORVisitsSummary.get_month.xml -- FETCHED RESPONSE, EXPECTED RESPONSE" string(516) " " string(868) " 2 2 4 3 3 1 1 1 1 1 " Fail: ../tests/integration/Main.test.php -> Test_Piwik_Integration_Main -> test_TwoVisitors_twoWebsites_differentDays -> In test_TwoVisitors_twoWebsites_differentDays__VisitsSummary.get_year.xml, Equal expectation fails at character 92 with [<?xml version="1.0" encoding="utf-8" ?> <results> <result idSite="1"> <result date="2010" /> <result date="2011" /> <result date="2012" /> <result date="2013" /> <result date="2014" /> <r...] and [<?xml version="1.0" encoding="utf-8" ?> <results> <result idSite="1"> <result date="2010"> <bounce_count>2</bounce_count> <max_actions>2</max_actions> <nb_actions>4</nb_actions> <nb_uni...] at [/home/apang/work/piwik/dev/trunk/tests/integration/Integration.php line 339]
string(74) "ERROR FORVisitsSummary.get_year.xml -- FETCHED RESPONSE, EXPECTED RESPONSE" string(474) " " string(826) " 2 2 4 3 3 1 1 1 1 1 "
35/36 test cases complete: 2121 passes, 80 fails and 1 exceptions.
Time elapsed: 313.496s
Memory delta: 15.7 M