From c2a56ef704c99b6cdd01efd8c23b8f0247a812fa Mon Sep 17 00:00:00 2001 From: sgiehl <stefan@piwik.org> Date: Sun, 28 Sep 2014 22:07:35 +0200 Subject: [PATCH] fix tests --- .../BackwardsCompatibility1XTest.php | 3 +++ ...SeveralDaysDateRangeArchivingTestsTest.php | 2 +- ...vExport__Live.getLastVisitsDetails_day.csv | Bin 7930 -> 7930 bytes 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/PHPUnit/Integration/BackwardsCompatibility1XTest.php b/tests/PHPUnit/Integration/BackwardsCompatibility1XTest.php index 8e68ab6610..5117de3758 100644 --- a/tests/PHPUnit/Integration/BackwardsCompatibility1XTest.php +++ b/tests/PHPUnit/Integration/BackwardsCompatibility1XTest.php @@ -84,6 +84,9 @@ class BackwardsCompatibility1XTest extends IntegrationTestCase // changes made to SQL dump to test VisitFrequency change the day of week 'VisitTime.getByDayOfWeek', + // did not exist in Piwik 1.X + 'DevicesDetection.getBrowserEngines', + // we test VisitFrequency explicitly 'VisitFrequency.get', diff --git a/tests/PHPUnit/Integration/OneVisitorOneWebsiteSeveralDaysDateRangeArchivingTestsTest.php b/tests/PHPUnit/Integration/OneVisitorOneWebsiteSeveralDaysDateRangeArchivingTestsTest.php index 831bab64f3..99c6da7e90 100755 --- a/tests/PHPUnit/Integration/OneVisitorOneWebsiteSeveralDaysDateRangeArchivingTestsTest.php +++ b/tests/PHPUnit/Integration/OneVisitorOneWebsiteSeveralDaysDateRangeArchivingTestsTest.php @@ -109,7 +109,7 @@ class OneVisitorOneWebsiteSeveralDaysDateRangeArchivingTest extends IntegrationT $tests = array( // TODO Implement fix, then remove the +3 below 'archive_blob_2010_12' => ( ($expectedActionsBlobs+3) /*Actions*/ - + 8 /* UserSettings */ + + 7 /* UserSettings */ + 2 /* VisitTime */) * 3, /** diff --git a/tests/PHPUnit/Integration/expected/test_csvExport__Live.getLastVisitsDetails_day.csv b/tests/PHPUnit/Integration/expected/test_csvExport__Live.getLastVisitsDetails_day.csv index 76e143458527a947b8544f273b5116651ad64247..48aefe560b420570f8271ebdd9de068e77aa53ae 100644 GIT binary patch delta 73 zcmexm`^$EN2+QPuY<`<XSbi{Vj$*&T!stHvA+PpkBc64Pn|b(_q40Y|3Ya1ClZ|-t PHfKppVA`xEeT5kS`R5t? delta 77 zcmexm`^$EN2+QUqmLE)$?O1pw>#>+@_F;d<vN?`t9V27<<iFzDn|b(_q40Y|3YaIy S@#JluCNY5tszy!v3NrvrvKznv -- GitLab