aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/_bootstrap.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/_bootstrap.php')
-rw-r--r--tests/functional/_bootstrap.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/functional/_bootstrap.php b/tests/functional/_bootstrap.php
index 49f3324..8a9125b 100644
--- a/tests/functional/_bootstrap.php
+++ b/tests/functional/_bootstrap.php
@@ -30,6 +30,8 @@ StudipAutoloader::register();
StudipAutoloader::addAutoloadPath($STUDIP_BASE_PATH . '/lib/calendar', 'Studip\\Calendar');
StudipAutoloader::addAutoloadPath($STUDIP_BASE_PATH . '/lib/classes');
StudipAutoloader::addAutoloadPath($STUDIP_BASE_PATH . '/lib/classes', 'Studip');
+StudipAutoloader::addAutoloadPath($STUDIP_BASE_PATH . '/lib/classes/cache');
+StudipAutoloader::addAutoloadPath($STUDIP_BASE_PATH . '/lib/classes/cache', 'Studip');
StudipAutoloader::addAutoloadPath($STUDIP_BASE_PATH . '/lib/exceptions');
StudipAutoloader::addAutoloadPath($STUDIP_BASE_PATH . '/lib/exceptions/resources');
StudipAutoloader::addAutoloadPath($STUDIP_BASE_PATH . '/lib/filesystem');
@@ -74,7 +76,7 @@ if (!class_exists('StudipTestHelper')) {
{
static function set_up_tables($tables)
{
- $cache = StudipCacheFactory::getCache(false);
+ $cache = \Studip\Cache\Factory::getCache(false);
// second step, expire table scheme
SimpleORMap::expireTableScheme();