aboutsummaryrefslogtreecommitdiff
path: root/tests/jsonapi/FileRefsCreateTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/jsonapi/FileRefsCreateTest.php')
-rw-r--r--tests/jsonapi/FileRefsCreateTest.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/jsonapi/FileRefsCreateTest.php b/tests/jsonapi/FileRefsCreateTest.php
index fe14b9f..239dfb9 100644
--- a/tests/jsonapi/FileRefsCreateTest.php
+++ b/tests/jsonapi/FileRefsCreateTest.php
@@ -21,6 +21,8 @@ class FileRefsCreateTest extends \Codeception\Test\Unit
protected function _before()
{
\DBManager::getInstance()->setConnection('studip', $this->getModule('\\Helper\\StudipDb')->dbh);
+ $GLOBALS['SEM_TYPE'] = SemType::getTypes();
+ $GLOBALS['SEM_CLASS'] = SemClass::getClasses();
}
protected function _after()