Fixes to some local testing issues (#11760)
* Fixing travis-ci/local inconsistencies in AutoSuggestAPITest.php. (userAgent was not correctly set in fixture) * In CliMulti, ignore zombie processes when parsing ps output. * Set URL of tracker in ThreeVisitsWithCustomEvents fixture, so test does not depend on _SERVER["HTTP_HOST"] which in turn depends on dynamic INI config value. * PHPUnit tests should not refer to each other, otherwise the PSR autoloader will be used, and PHPUnit will not load the file itself (resulting in the test not being run). * Update OneVisitorTwoVisitsTest expected files. * URL encode attribution date time in fixture since the tracker will not do it itself.
parent
73a00c02
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Affichage de
- core/CliMulti/Process.php 1 ajout, 1 suppressioncore/CliMulti/Process.php
- tests/PHPUnit/Fixtures/ManyVisitsWithGeoIP.php 13 ajouts, 1 suppressiontests/PHPUnit/Fixtures/ManyVisitsWithGeoIP.php
- tests/PHPUnit/Fixtures/OneVisitorTwoVisits.php 8 ajouts, 0 suppressiontests/PHPUnit/Fixtures/OneVisitorTwoVisits.php
- tests/PHPUnit/Fixtures/SomeVisitsCustomVariablesCampaignsNotHeuristics.php 2 ajouts, 2 suppressions...tures/SomeVisitsCustomVariablesCampaignsNotHeuristics.php
- tests/PHPUnit/Fixtures/ThreeVisitsWithCustomEvents.php 2 ajouts, 0 suppressiontests/PHPUnit/Fixtures/ThreeVisitsWithCustomEvents.php
- tests/PHPUnit/System/AutoSuggestAPITest.php 1 ajout, 5 suppressionstests/PHPUnit/System/AutoSuggestAPITest.php
- tests/PHPUnit/System/CliMultiTest.php 1 ajout, 1 suppressiontests/PHPUnit/System/CliMultiTest.php
- tests/PHPUnit/System/DuplicateActionsTest.php 1 ajout, 1 suppressiontests/PHPUnit/System/DuplicateActionsTest.php
- tests/PHPUnit/System/OneVisitorTwoVisitsTest.php 1 ajout, 9 suppressionstests/PHPUnit/System/OneVisitorTwoVisitsTest.php
- tests/PHPUnit/System/expected/test_AutoSuggestAPITest__Live.getLastVisitsDetails_range.xml 493 ajouts, 143 suppressions...t_AutoSuggestAPITest__Live.getLastVisitsDetails_range.xml
- tests/PHPUnit/System/expected/test_AutoSuggestAPITest_browserCode__API.getSuggestedValuesForSegment.xml 3 ajouts, 4 suppressions...APITest_browserCode__API.getSuggestedValuesForSegment.xml
- tests/PHPUnit/System/expected/test_AutoSuggestAPITest_browserVersion__API.getSuggestedValuesForSegment.xml 4 ajouts, 4 suppressions...Test_browserVersion__API.getSuggestedValuesForSegment.xml
- tests/PHPUnit/System/expected/test_AutoSuggestAPITest_deviceBrand__API.getSuggestedValuesForSegment.xml 1 ajout, 1 suppression...APITest_deviceBrand__API.getSuggestedValuesForSegment.xml
- tests/PHPUnit/System/expected/test_AutoSuggestAPITest_deviceBrand__VisitsSummary.get_range.xml 7 ajouts, 7 suppressions...toSuggestAPITest_deviceBrand__VisitsSummary.get_range.xml
- tests/PHPUnit/System/expected/test_AutoSuggestAPITest_deviceType__VisitsSummary.get_range.xml 7 ajouts, 7 suppressions...utoSuggestAPITest_deviceType__VisitsSummary.get_range.xml
- tests/PHPUnit/System/expected/test_AutoSuggestAPITest_operatingSystemCode__API.getSuggestedValuesForSegment.xml 0 ajout, 1 suppression...operatingSystemCode__API.getSuggestedValuesForSegment.xml
- tests/PHPUnit/System/expected/test_AutoSuggestAPITest_operatingSystemCode__VisitsSummary.get_range.xml 7 ajouts, 7 suppressions...tAPITest_operatingSystemCode__VisitsSummary.get_range.xml
- tests/PHPUnit/System/expected/test_AutoSuggestAPITest_operatingSystemVersion__API.getSuggestedValuesForSegment.xml 3 ajouts, 4 suppressions...ratingSystemVersion__API.getSuggestedValuesForSegment.xml
- tests/PHPUnit/System/expected/test_OneVisitorTwoVisits__CorePluginsAdmin.getSystemSettings.xml 3 ajouts, 3 suppressions...eVisitorTwoVisits__CorePluginsAdmin.getSystemSettings.xml
- tests/PHPUnit/System/expected/test_OneVisitorTwoVisits__DevicesDetection.getBrand_day.xml 1 ajout, 1 suppression...st_OneVisitorTwoVisits__DevicesDetection.getBrand_day.xml
Chargement en cours
Veuillez vous inscrire ou vous se connecter pour commenter