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 /plugins/TestRunner/Commands/TestsSetupFixture.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 'plugins/TestRunner/Commands/TestsSetupFixture.php')
-rw-r--r--plugins/TestRunner/Commands/TestsSetupFixture.php13
1 files changed, 0 insertions, 13 deletions
diff --git a/plugins/TestRunner/Commands/TestsSetupFixture.php b/plugins/TestRunner/Commands/TestsSetupFixture.php
index b41ed4bd70..510578cb76 100644
--- a/plugins/TestRunner/Commands/TestsSetupFixture.php
+++ b/plugins/TestRunner/Commands/TestsSetupFixture.php
@@ -240,19 +240,6 @@ class TestsSetupFixture extends ConsoleCommand
{
require_once PIWIK_INCLUDE_PATH . '/libs/PiwikTracker/PiwikTracker.php';
- $fixturesToLoad = array(
- '/tests/PHPUnit/Fixtures/*.php',
- '/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;
- }
- }
-
$file = $input->getOption('file');
if ($file) {
if (is_file($file)) {