From 4b10f3953498ce8c77a073816f9e4f5c0a82721c Mon Sep 17 00:00:00 2001 From: Thomas Steur <thomas.steur@gmail.com> Date: Thu, 16 Jan 2014 02:17:28 +0000 Subject: [PATCH] refs #1486 load fixtures from plugins when running UI tests --- tests/PHPUnit/bootstrap.php | 4 ++++ 1 file changed, 4 insertions(+) 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(); -- GitLab