diff --git a/tests/Autoloader.php b/tests/Autoloader.php index 3351cc7fc..7da7fb64e 100755 --- a/tests/Autoloader.php +++ b/tests/Autoloader.php @@ -77,7 +77,7 @@ 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); }