diff options
author | Thomas Steur <thomas.steur@gmail.com> | 2014-01-16 06:17:28 +0400 |
---|---|---|
committer | Thomas Steur <thomas.steur@gmail.com> | 2014-01-16 06:17:28 +0400 |
commit | 4b10f3953498ce8c77a073816f9e4f5c0a82721c (patch) | |
tree | 081900e5d32c67889ab7c894d0a6fe18cb2c0117 /tests | |
parent | e0c809d21fa08a112fa5ed5f309a5fedcf90a436 (diff) |
refs #1486 load fixtures from plugins when running UI tests
Diffstat (limited to 'tests')
-rw-r--r-- | tests/PHPUnit/bootstrap.php | 4 |
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(); |