@mattab opened this Issue on March 8th 2018 Member
There were 3 failures:
1) Piwik\Tests\System\AutoSuggestAPITest::testAnotherApi with data set <a href='/9'>#9</a> ('VisitsSummary.get', array(1, '2018-02-05,today', 'range', '_visitEndServerDate', 'visitEndServerDate'))
Piwik\Tests\System\AutoSuggestAPITest: Differences with expected in '/home/travis/build/matomo-org/matomo/tests/PHPUnit/Framework/TestCase/../../System/processed/test_AutoSuggestAPITest_visitEndServerDate__VisitsSummary.get_range.xml'
Failed asserting that two DOM documents are equal.
--- Expected
+++ Actual
@@ @@
 <?xml version="1.0"?>
 <result>
-  <nb_visits>2</nb_visits>
-  <nb_actions>5</nb_actions>
-  <nb_visits_converted>2</nb_visits_converted>
-  <bounce_count>1</bounce_count>
-  <sum_visit_length>1621</sum_visit_length>
-  <max_actions>4</max_actions>
-  <bounce_rate>50%</bounce_rate>
-  <nb_actions_per_visit>2.5</nb_actions_per_visit>
-  <avg_time_on_site>811</avg_time_on_site>
+  <nb_visits>0</nb_visits>
+  <nb_actions>0</nb_actions>
+  <nb_visits_converted>0</nb_visits_converted>
+  <bounce_count>0</bounce_count>
+  <sum_visit_length>0</sum_visit_length>
+  <max_actions>0</max_actions>
+  <bounce_rate>0%</bounce_rate>
+  <nb_actions_per_visit>0</nb_actions_per_visit>
+  <avg_time_on_site>0</avg_time_on_site>
 </result>
/home/travis/build/matomo-org/matomo/tests/PHPUnit/Framework/TestRequest/Response.php:76
/home/travis/build/matomo-org/matomo/tests/PHPUnit/Framework/TestCase/SystemTestCase.php:401
/home/travis/build/matomo-org/matomo/tests/PHPUnit/Framework/TestCase/SystemTestCase.php:541
/home/travis/build/matomo-org/matomo/tests/PHPUnit/System/AutoSuggestAPITest.php:110
2) Piwik\Tests\System\AutoSuggestAPITest::testAnotherApi with data set <a href='/11'>#11</a> ('VisitsSummary.get', array(1, '2018-02-05,today', 'range', '_visitEndServerDayOfWeek', 'visitEndServerDayOfWeek'))
Piwik\Tests\System\AutoSuggestAPITest: Differences with expected in '/home/travis/build/matomo-org/matomo/tests/PHPUnit/Framework/TestCase/../../System/processed/test_AutoSuggestAPITest_visitEndServerDayOfWeek__VisitsSummary.get_range.xml'
Failed asserting that two DOM documents are equal.
--- Expected
+++ Actual
@@ @@
 <?xml version="1.0"?>
 <result>
-  <nb_visits>10</nb_visits>
-  <nb_actions>29</nb_actions>
-  <nb_visits_converted>10</nb_visits_converted>
-  <bounce_count>5</bounce_count>
-  <sum_visit_length>8105</sum_visit_length>
+  <nb_visits>3</nb_visits>
+  <nb_actions>7</nb_actions>
+  <nb_visits_converted>3</nb_visits_converted>
+  <bounce_count>2</bounce_count>
+  <sum_visit_length>1621</sum_visit_length>
   <max_actions>5</max_actions>
-  <bounce_rate>50%</bounce_rate>
-  <nb_actions_per_visit>2.9</nb_actions_per_visit>
-  <avg_time_on_site>811</avg_time_on_site>
+  <bounce_rate>67%</bounce_rate>
+  <nb_actions_per_visit>2.3</nb_actions_per_visit>
+  <avg_time_on_site>540</avg_time_on_site>
 </result>
/home/travis/build/matomo-org/matomo/tests/PHPUnit/Framework/TestRequest/Response.php:76
/home/travis/build/matomo-org/matomo/tests/PHPUnit/Framework/TestCase/SystemTestCase.php:401
/home/travis/build/matomo-org/matomo/tests/PHPUnit/Framework/TestCase/SystemTestCase.php:541
/home/travis/build/matomo-org/matomo/tests/PHPUnit/System/AutoSuggestAPITest.php:110
3) Piwik\Tests\System\AutoSuggestAPITest::testAnotherApi with data set <a href='/14'>#14</a> ('VisitsSummary.get', array(1, '2018-02-05,today', 'range', '_visitEndServerMonth', 'visitEndServerMonth'))
Piwik\Tests\System\AutoSuggestAPITest: Differences with expected in '/home/travis/build/matomo-org/matomo/tests/PHPUnit/Framework/TestCase/../../System/processed/test_AutoSuggestAPITest_visitEndServerMonth__VisitsSummary.get_range.xml'
Failed asserting that two DOM documents are equal.
--- Expected
+++ Actual
@@ @@
 <?xml version="1.0"?>
 <result>
-  <nb_visits>24</nb_visits>
-  <nb_actions>66</nb_actions>
-  <nb_visits_converted>24</nb_visits_converted>
-  <bounce_count>12</bounce_count>
-  <sum_visit_length>19452</sum_visit_length>
-  <max_actions>5</max_actions>
-  <bounce_rate>50%</bounce_rate>
-  <nb_actions_per_visit>2.8</nb_actions_per_visit>
-  <avg_time_on_site>811</avg_time_on_site>
+  <nb_visits>0</nb_visits>
+  <nb_actions>0</nb_actions>
+  <nb_visits_converted>0</nb_visits_converted>
+  <bounce_count>0</bounce_count>
+  <sum_visit_length>0</sum_visit_length>
+  <max_actions>0</max_actions>
+  <bounce_rate>0%</bounce_rate>
+  <nb_actions_per_visit>0</nb_actions_per_visit>
+  <avg_time_on_site>0</avg_time_on_site>
 </result>
/home/travis/build/matomo-org/matomo/tests/PHPUnit/Framework/TestRequest/Response.php:76
/home/travis/build/matomo-org/matomo/tests/PHPUnit/Framework/TestCase/SystemTestCase.php:401
/home/travis/build/matomo-org/matomo/tests/PHPUnit/Framework/TestCase/SystemTestCase.php:541
/home/travis/build/matomo-org/matomo/tests/PHPUnit/System/AutoSuggestAPITest.php:110
This Issue was closed on March 11th 2018
Powered by GitHub Issue Mirror