aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/_bootstrap.php2
-rw-r--r--tests/unit/lib/classes/MarkupClassTest.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/_bootstrap.php b/tests/unit/_bootstrap.php
index 6f822a1..9bc68f5 100644
--- a/tests/unit/_bootstrap.php
+++ b/tests/unit/_bootstrap.php
@@ -167,5 +167,5 @@ function app($entryId = null, $parameters = [])
function sess()
{
- return studipApp()->get('Studip\Session\Manager');
+ return app()->get('Studip\Session\Manager');
}
diff --git a/tests/unit/lib/classes/MarkupClassTest.php b/tests/unit/lib/classes/MarkupClassTest.php
index 7dec6c1..7342a4a 100644
--- a/tests/unit/lib/classes/MarkupClassTest.php
+++ b/tests/unit/lib/classes/MarkupClassTest.php
@@ -77,7 +77,7 @@ class MarkupClassTest extends \Codeception\Test\Unit
}));
Config::set($configStub);
- studipApp()->set('Studip\Session\Manager', new StudipSessionManager());
+ app()->set('Studip\Session\Manager', new StudipSessionManager());
# exceptions
$namespace = 'Studip\MarkupPrivate\MediaProxy\\';
$invalidInternalLink = $namespace . 'InvalidInternalLinkException';