From a1cc0731e2cf8fa65f301e25d6ec87d435d259cd Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Fri, 29 Sep 2023 20:48:38 +0000 Subject: [PATCH] fix tests --- tests/Autoloader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Autoloader.php b/tests/Autoloader.php index 4dede91..f1af38f 100755 --- a/tests/Autoloader.php +++ b/tests/Autoloader.php @@ -79,7 +79,7 @@ final class Autoloader $class = \strtr($class, '_\\', '//'); if (\stripos($class, 'Web/Backend') !== false || \stripos($class, 'Web/Api') !== false) { - $class = \str_replace('Web/', 'Install/Application/', $class); + $class = \is_dir(__DIR__ . '/Web') ? $class : \str_replace('Web/', 'Karaka/Web/', $class); } $class2 = $class;