From e2f92bb31a19bfa7844155c655f94e37629ac323 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Mon, 25 Sep 2023 22:54:39 +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 a6e0894..b23e8e6 100755 --- a/tests/Autoloader.php +++ b/tests/Autoloader.php @@ -78,7 +78,7 @@ final class Autoloader $class = \ltrim($class, '\\'); $class = \strtr($class, '_\\', '//'); - if (\stripos($class, 'Web/Backend')) { + if (\stripos($class, 'Web/Backend') !== false || \stripos($class, 'Web/Api') !== false) { $class = \str_replace('Web/', 'Install/Application/', $class); }