Cambio en namespace

This commit is contained in:
Juan Pablo Vial
2025-05-08 11:13:17 -04:00
parent c1ebac6c0c
commit ca5354a3ee
20 changed files with 62 additions and 62 deletions

View File

@ -152,10 +152,10 @@ class TestBootstrap
spl_autoload_register(function($className) {
$baseTestPath = __DIR__ . "/tests";
$namespaceMap = [
"ProVM\\Tests\\Extension\\" => "{$baseTestPath}/extension",
"ProVM\\Integration\\" => "{$baseTestPath}/integration",
"ProVM\\Unit\\" => "{$baseTestPath}/unit/src",
"ProVM\\Performance\\" => "{$baseTestPath}/performance",
"Tests\\Extension\\" => "{$baseTestPath}/extension",
"Tests\\Integration\\" => "{$baseTestPath}/integration",
"Tests\\Unit\\" => "{$baseTestPath}/unit/src",
"Tests\\Performance\\" => "{$baseTestPath}/performance",
];
foreach ($namespaceMap as $namespace => $path) {
if (str_starts_with($className, $namespace)) {