-
- Téléchargements
Moved Config object to the DI container and override w/ TestConfig through DI...
Moved Config object to the DI container and override w/ TestConfig through DI config. Replaced the singleton GlobalSettingsProvider hack w/ the concept of an EnvironmentManipulator (internal to Piwik, not to be used anywhere but TestingEnvironment.php).
parent
0afc4782
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Affichage de
- config/environment/test.php 1 ajout, 0 suppressionconfig/environment/test.php
- core/Application/Environment.php 30 ajouts, 4 suppressionscore/Application/Environment.php
- core/Application/EnvironmentManipulator.php 26 ajouts, 0 suppressioncore/Application/EnvironmentManipulator.php
- core/Application/Kernel/GlobalSettingsProvider.php 0 ajout, 28 suppressionscore/Application/Kernel/GlobalSettingsProvider.php
- core/Config.php 11 ajouts, 4 suppressionscore/Config.php
- tests/PHPUnit/Framework/Fixture.php 5 ajouts, 15 suppressionstests/PHPUnit/Framework/Fixture.php
- tests/PHPUnit/Framework/Mock/TestConfig.php 4 ajouts, 5 suppressionstests/PHPUnit/Framework/Mock/TestConfig.php
- tests/PHPUnit/Framework/TestCase/UnitTestCase.php 0 ajout, 6 suppressionstests/PHPUnit/Framework/TestCase/UnitTestCase.php
- tests/PHPUnit/Framework/TestingEnvironment/MakeGlobalSettingsWithFile.php 31 ajouts, 0 suppression...amework/TestingEnvironment/MakeGlobalSettingsWithFile.php
- tests/PHPUnit/Integration/TrackerTest.php 0 ajout, 1 suppressiontests/PHPUnit/Integration/TrackerTest.php
- tests/PHPUnit/TestingEnvironment.php 8 ajouts, 20 suppressionstests/PHPUnit/TestingEnvironment.php
- tests/PHPUnit/Unit/ConfigTest.php 11 ajouts, 20 suppressionstests/PHPUnit/Unit/ConfigTest.php
Chargement en cours
Veuillez vous inscrire ou vous se connecter pour commenter