Skip to content

Commit

Permalink
Dropped class_alias BC layer from test code
Browse files Browse the repository at this point in the history
  • Loading branch information
alongosz committed May 21, 2024
1 parent e9d4204 commit cef9992
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 10 deletions.
2 changes: 0 additions & 2 deletions tests/lib/Asset/AssetPathResolverTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,5 +132,3 @@ public function testResolveAssetPath(array $designPaths, array $existingPaths, $
self::assertSame($resolvedPath, $resolver->resolveAssetPath($path, 'foo'));
}
}

class_alias(AssetPathResolverTest::class, 'EzSystems\EzPlatformDesignEngine\Tests\Asset\AssetPathResolverTest');
2 changes: 0 additions & 2 deletions tests/lib/Asset/ProvisionedPathResolverTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,5 +112,3 @@ public function testProvisionResolvedPaths()
self::assertEquals($expectedResolvedPaths, $provisioner->provisionResolvedPaths($themesPaths, $design));
}
}

class_alias(ProvisionedPathResolverTest::class, 'EzSystems\EzPlatformDesignEngine\Tests\Asset\ProvisionedPathResolverTest');
2 changes: 0 additions & 2 deletions tests/lib/Asset/ThemePackageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,5 +92,3 @@ public function testGetVersion()
self::assertSame($version, $package->getVersion($assetPath));
}
}

class_alias(ThemePackageTest::class, 'EzSystems\EzPlatformDesignEngine\Tests\Asset\ThemePackageTest');
2 changes: 0 additions & 2 deletions tests/lib/Templating/TemplatePathRegistryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,3 @@ public function testGetTemplatePathNotMapped()
self::assertSame($templateLogicalName, $registry->getTemplatePath($templateLogicalName));
}
}

class_alias(TemplatePathRegistryTest::class, 'EzSystems\EzPlatformDesignEngine\Tests\Templating\TemplatePathRegistryTest');
2 changes: 0 additions & 2 deletions tests/lib/Templating/ThemeTemplateNameResolverTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,3 @@ public function testIsTemplateDesignNamespaced($currentDesign, $templateName, $e
self::assertSame($expected, $resolver->isTemplateDesignNamespaced($templateName));
}
}

class_alias(ThemeTemplateNameResolverTest::class, 'EzSystems\EzPlatformDesignEngine\Tests\Templating\ThemeTemplateNameResolverTest');

0 comments on commit cef9992

Please sign in to comment.