diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-11-06 09:47:33 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-11-06 09:47:33 +0000 |
| commit | 79479dd3524c0ff27919749bfbe04455b534484b (patch) | |
| tree | 61cad62e61be06145a8ed89fce8a2f35d76f6b96 /tests/jsonapi | |
| parent | 807bc5928408345284f0ce602d1682e3d1f4be76 (diff) | |
allow cache settings to be configured even if caching is disabled, fixes #4806
Closes #4806
Merge request studip/studip!3597
Diffstat (limited to 'tests/jsonapi')
| -rw-r--r-- | tests/jsonapi/_bootstrap.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/jsonapi/_bootstrap.php b/tests/jsonapi/_bootstrap.php index 468d050..01538aa 100644 --- a/tests/jsonapi/_bootstrap.php +++ b/tests/jsonapi/_bootstrap.php @@ -28,6 +28,8 @@ $CACHING_ENABLE = false; date_default_timezone_set('Europe/Berlin'); require 'config.inc.php'; +require_once __DIR__ . '/../../lib/bootstrap-autoload.php'; + require 'lib/helpers.php'; require 'lib/functions.php'; @@ -58,6 +60,6 @@ class DB_Seminar extends DB_Sql } } -require_once __DIR__.'/../../composer/autoload.php'; +require_once __DIR__ . '/../../composer/autoload.php'; session_id("test-session"); |
