Refactoring IntegrationTestCase class:
- moved all API URL generation logic & API response handling logic to separate classes - created ApiTestConfig class to hold API test options (and documentation for properties) - remove unnecessary IntegrationTestCase properties and methods (including apiNotToCall/apiToCall) - remove as many unnecessary API test options as possible (including abandonedCarts, hackDeleteRangeArchivesBefore) - rename checkRequestResponse to assertApiResponseHasNoError
parent
900c7e37
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Affichage de
- tests/PHPUnit/Impl/ApiTestConfig.php 214 ajouts, 0 suppressiontests/PHPUnit/Impl/ApiTestConfig.php
- tests/PHPUnit/Impl/TestRequestCollection.php 341 ajouts, 0 suppressiontests/PHPUnit/Impl/TestRequestCollection.php
- tests/PHPUnit/Impl/TestRequestResponse.php 222 ajouts, 0 suppressiontests/PHPUnit/Impl/TestRequestResponse.php
- tests/PHPUnit/Integration/AutoSuggestAPITest.php 1 ajout, 1 suppressiontests/PHPUnit/Integration/AutoSuggestAPITest.php
- tests/PHPUnit/Integration/BackwardsCompatibility1XTest.php 17 ajouts, 18 suppressionstests/PHPUnit/Integration/BackwardsCompatibility1XTest.php
- tests/PHPUnit/Integration/CustomEventsTest.php 1 ajout, 1 suppressiontests/PHPUnit/Integration/CustomEventsTest.php
- tests/PHPUnit/Integration/EcommerceOrderWithItemsTest.php 5 ajouts, 2 suppressionstests/PHPUnit/Integration/EcommerceOrderWithItemsTest.php
- tests/PHPUnit/Integration/OneVisitorSeveralDaysImportedInRandomOrderTest.php 6 ajouts, 5 suppressions...ration/OneVisitorSeveralDaysImportedInRandomOrderTest.php
- tests/PHPUnit/Integration/OneVisitorTwoVisitsTest.php 1 ajout, 1 suppressiontests/PHPUnit/Integration/OneVisitorTwoVisitsTest.php
- tests/PHPUnit/Integration/PeriodIsRangeDateIsLastNMetadataAndNormalAPITest.php 1 ajout, 2 suppressions...tion/PeriodIsRangeDateIsLastNMetadataAndNormalAPITest.php
- tests/PHPUnit/Integration/RowEvolutionTest.php 1 ajout, 1 suppressiontests/PHPUnit/Integration/RowEvolutionTest.php
- tests/PHPUnit/Integration/TwoVisitorsTwoWebsitesDifferentDaysArchivingDisabledTest.php 0 ajout, 1 suppression...VisitorsTwoWebsitesDifferentDaysArchivingDisabledTest.php
- tests/PHPUnit/Integration/VisitsInPastInvalidateOldReportsTest.php 4 ajouts, 4 suppressions...Unit/Integration/VisitsInPastInvalidateOldReportsTest.php
- tests/PHPUnit/IntegrationTestCase.php 58 ajouts, 551 suppressionstests/PHPUnit/IntegrationTestCase.php
- tests/PHPUnit/bootstrap.php 3 ajouts, 0 suppressiontests/PHPUnit/bootstrap.php
- tests/PHPUnit/travis.sh 1 ajout, 2 suppressionstests/PHPUnit/travis.sh
Chargement en cours
Veuillez vous inscrire ou vous se connecter pour commenter