diff --git a/tests/Autoloader.php b/tests/Autoloader.php
index 621bdc4..602019b 100755
--- a/tests/Autoloader.php
+++ b/tests/Autoloader.php
@@ -77,6 +77,11 @@ final class Autoloader
{
$class = \ltrim($class, '\\');
$class = \strtr($class, '_\\', '//');
+
+ if (\stripos($class, 'Web/Backend')) {
+ $class = \str_replace('Web', 'Install/Application', $class);
+ }
+
$class2 = $class;
$pos = \stripos($class, '/');
diff --git a/tests/phpunit_default.xml b/tests/phpunit_default.xml
index f45f39b..9891142 100755
--- a/tests/phpunit_default.xml
+++ b/tests/phpunit_default.xml
@@ -19,6 +19,7 @@
../**/Admin/Hooks*
../**/Admin/Install*
../Media/Files*
+ ../tests/Admin*
@@ -26,9 +27,6 @@
-
- ../MainRepository/Install/tests*
-
../tests*