aboutsummaryrefslogtreecommitdiff
path: root/tests/jsonapi/_bootstrap.php
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+studip@gmail.com>2024-01-03 18:55:42 +0000
committerDavid Siegfried <david.siegfried@uni-vechta.de>2024-01-03 18:55:42 +0000
commit97994ba76c4c806b3bf410dc1ddff7777a2c1d33 (patch)
tree04459b800f976fdfdfaa79d7b2f3f8c4f2515697 /tests/jsonapi/_bootstrap.php
parent1e7019538a8ee3985bfc0a19960dca9737688a26 (diff)
fixes #3206
Closes #3206 Merge request studip/studip!2173
Diffstat (limited to 'tests/jsonapi/_bootstrap.php')
-rw-r--r--tests/jsonapi/_bootstrap.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/jsonapi/_bootstrap.php b/tests/jsonapi/_bootstrap.php
index a6177df..61325ef 100644
--- a/tests/jsonapi/_bootstrap.php
+++ b/tests/jsonapi/_bootstrap.php
@@ -2,7 +2,7 @@
// Here you can initialize variables that will be available to your tests
-global $STUDIP_BASE_PATH, $ABSOLUTE_URI_STUDIP, $CACHING_ENABLE, $CACHING_FILECACHE_PATH, $SYMBOL_SHORT, $TMP_PATH, $UPLOAD_PATH;
+global $STUDIP_BASE_PATH, $ABSOLUTE_URI_STUDIP, $CACHING_ENABLE, $CACHING_FILECACHE_PATH, $SYMBOL_SHORT, $TMP_PATH, $UPLOAD_PATH, $DYNAMIC_CONTENT_PATH, $DYNAMIC_CONTENT_URL;
// common set-up, usually done by lib/bootstraph.php and
// config/config_local.inc.php when run on web server
@@ -11,6 +11,8 @@ if (!isset($STUDIP_BASE_PATH)) {
$ABSOLUTE_PATH_STUDIP = $STUDIP_BASE_PATH.'/public/';
$UPLOAD_PATH = $STUDIP_BASE_PATH.'/data/upload_doc';
$TMP_PATH = $TMP_PATH ?: '/tmp';
+ $DYNAMIC_CONTENT_PATH = '';
+ $DYNAMIC_CONTENT_URL = '';
}
// set include path