Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordiosmosis <benaka@piwik.pro>2015-10-04 15:40:13 +0300
committerdiosmosis <benaka@piwik.pro>2015-10-04 15:40:13 +0300
commit8abbb26c1ab0f14d2588be01f805e13365582ca4 (patch)
tree5d148435d16720a68fa4c4bc824f543bca5bf07a /tests/PHPUnit/bootstrap.php
parent2c3884cccbf32c5ddc891e70cb9bc87e114abbfb (diff)
Since autoloading is used now, do not manually include fixture files during tests. Fixes case when one plugin has issue in fixture class making it impossible to run tests (since the tests:run will just fail).
Diffstat (limited to 'tests/PHPUnit/bootstrap.php')
-rw-r--r--tests/PHPUnit/bootstrap.php12
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/PHPUnit/bootstrap.php b/tests/PHPUnit/bootstrap.php
index 2b3cdf0146..5eed01f806 100644
--- a/tests/PHPUnit/bootstrap.php
+++ b/tests/PHPUnit/bootstrap.php
@@ -60,18 +60,6 @@ function setupRootContainer() {
setupRootContainer(); // do it in a function so it doesn't appear in $_GLOBALS and so PHPUnit won't try to serialize it.
-// require test fixtures
-$fixturesToLoad = array(
- '/tests/UI/Fixtures/*.php',
- '/plugins/*/tests/Fixtures/*.php',
- '/plugins/*/Test/Fixtures/*.php',
-);
-foreach($fixturesToLoad as $fixturePath) {
- foreach (glob(PIWIK_INCLUDE_PATH . $fixturePath) as $file) {
- require_once $file;
- }
-}
-
Locale::setDefaultLocale();
function prepareServerVariables(Config $config)