diff --git a/modules/system/tests/bootstrap/app.php b/modules/system/tests/bootstrap/app.php index 11dd502e78..1063af2536 100644 --- a/modules/system/tests/bootstrap/app.php +++ b/modules/system/tests/bootstrap/app.php @@ -25,6 +25,15 @@ $loader->autoloadPackage(basename($modulePath), $modulePath); } +/* + * Manually register System aliases + */ +foreach (require(__DIR__ . '/../../aliases.php') as $alias => $class) { + if (!class_exists($alias)) { + class_alias($class, $alias); + } +} + /* * Manually register all plugin classes for autoloading */