aboutsummaryrefslogtreecommitdiff
path: root/tests/unit
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+studip@gmail.com>2024-05-15 06:56:03 +0000
committerJan-Hendrik Willms <tleilax+studip@gmail.com>2024-05-15 06:56:03 +0000
commit24778635d3cea1bf2a1e59fccb4cccbdcf0af890 (patch)
tree0adcb2503071942cb0d78b395b4bb27a1d48b9a7 /tests/unit
parent4c0242f044a53979a08e7bec5913dc6a48b976f9 (diff)
update codeception/codeception to 5.1.2 and codeception/module-asserts to 3.0.0, fix test, fixes #4150
Closes #4150 Merge request studip/studip!2990
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/lib/classes/StudipFileloaderTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/lib/classes/StudipFileloaderTest.php b/tests/unit/lib/classes/StudipFileloaderTest.php
index 1ffe6b5..62c5e04 100644
--- a/tests/unit/lib/classes/StudipFileloaderTest.php
+++ b/tests/unit/lib/classes/StudipFileloaderTest.php
@@ -56,7 +56,7 @@ class StudipFileloaderTestCase extends \Codeception\Test\Unit
public function test_should_balk_upon_file_not_found()
{
- $this->expectException(\PHPUnit\Framework\Exception::class);
+ $this->expectException(Exception::class);
StudipFileloader::load('var://pathto/not-there.php', $container);
}
}