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
path: root/tests
diff options
context:
space:
mode:
authorThomas Steur <thomas.steur@gmail.com>2014-01-16 06:17:28 +0400
committerThomas Steur <thomas.steur@gmail.com>2014-01-16 06:17:28 +0400
commit4b10f3953498ce8c77a073816f9e4f5c0a82721c (patch)
tree081900e5d32c67889ab7c894d0a6fe18cb2c0117 /tests
parente0c809d21fa08a112fa5ed5f309a5fedcf90a436 (diff)
refs #1486 load fixtures from plugins when running UI tests
Diffstat (limited to 'tests')
-rw-r--r--tests/PHPUnit/bootstrap.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/PHPUnit/bootstrap.php b/tests/PHPUnit/bootstrap.php
index 5a7d925035..fdc1950033 100644
--- a/tests/PHPUnit/bootstrap.php
+++ b/tests/PHPUnit/bootstrap.php
@@ -52,6 +52,10 @@ foreach (glob(PIWIK_INCLUDE_PATH . '/tests/PHPUnit/Fixtures/*.php') as $file) {
require_once $file;
}
+foreach (glob(PIWIK_INCLUDE_PATH . '/plugins/*/tests/Fixtures/*.php') as $file) {
+ require_once $file;
+}
+
// General requirement checks & help: a webserver must be running for tests to work!
checkPiwikSetupForTests();