diff --git a/tests/PHPUnit/proxy/archive.php b/tests/PHPUnit/proxy/archive.php index 75fcbcd4b8fbbdbef6119de01abf41ebedd80c24..3ff361d9ee48aec430c1bf105abd47ac5771fb6c 100644 --- a/tests/PHPUnit/proxy/archive.php +++ b/tests/PHPUnit/proxy/archive.php @@ -2,9 +2,8 @@ define('PIWIK_MODE_ARCHIVE', true); define('PIWIK_ARCHIVE_NO_TRUNCATE', true); -require realpath(dirname(__FILE__)) . "/includes.php"; - +require_once realpath(dirname(__FILE__)) . '/tests/PHPUnit/TestingEnvironment.php'; Piwik_TestingEnvironment::addHooks(); // include archive.php, and let 'er rip -require_once PIWIK_INCLUDE_PATH . "/misc/cron/archive.php"; +require_once realpath(dirname(__FILE__)) . "/misc/cron/archive.php";