fix tests

This commit is contained in:
Dennis Eichhorn 2023-09-24 21:37:03 +00:00
parent 528e5ef322
commit e91b024267
2 changed files with 2 additions and 5 deletions

View File

@ -79,10 +79,7 @@ final class Autoloader
$class = \strtr($class, '_\\', '//');
foreach (self::$paths as $path) {
$file = $path . $class . '.php';
$file = \str_replace('/Modules/', '/', $file);
if (\is_file($file)) {
if (\is_file($file = $path . $class . '.php')) {
include_once $file;
return;

View File

@ -47,7 +47,7 @@
<php>
<const name="WEB_SERVER_HOST" value="localhost"/>
<const name="WEB_SERVER_PORT" value="1234"/>
<const name="WEB_SERVER_DOCROOT" value="./"/>
<const name="WEB_SERVER_DOCROOT" value="./Karaka"/>
<const name="RESET" value="1"/>
</php>
</phpunit>