diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2023-03-28 07:23:11 +0000 |
|---|---|---|
| committer | David Siegfried <david.siegfried@uni-vechta.de> | 2023-03-28 07:23:11 +0000 |
| commit | 43f35cc46bfb1129ce55f5bbbcd1dabbfa8efc73 (patch) | |
| tree | d931c660a33073a361d4dd9d04ffa1fac0f3839f /tests | |
| parent | d37d28adb8a776ba699cc11a80a18a5d25f3f11b (diff) | |
update symfony/yaml to 5.4.21 and use correct method, fixes #2468
Closes #2468
Merge request studip/studip!1665
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/unit/_bootstrap.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/_bootstrap.php b/tests/unit/_bootstrap.php index 068ba58..7332094 100644 --- a/tests/unit/_bootstrap.php +++ b/tests/unit/_bootstrap.php @@ -81,7 +81,7 @@ StudipFileloader::load( true ); -$config = Symfony\Component\Yaml\Yaml::parse(file_get_contents(__DIR__ .'/../unit.suite.yml')); +$config = Symfony\Component\Yaml\Yaml::parseFile(__DIR__ .'/../unit.suite.yml'); // connect to database if configured if (isset($config['modules']['config']['Db'])) { |
