public function ExtensionPathResolverTest::testExtensionPathResolvingPath in Drupal 10
Same name and namespace in other branches
- 9 core/tests/Drupal/KernelTests/Core/Bootstrap/ExtensionPathResolverTest.php \Drupal\KernelTests\Core\Bootstrap\ExtensionPathResolverTest::testExtensionPathResolvingPath()
@covers ::getPath
File
- core/
tests/ Drupal/ KernelTests/ Core/ Bootstrap/ ExtensionPathResolverTest.php, line 49
Class
- ExtensionPathResolverTest
- Tests that extension path resolver works correctly.
Namespace
Drupal\KernelTests\Core\BootstrapCode
public function testExtensionPathResolvingPath() : void {
$this
->assertSame('core/modules/system/tests/modules/driver_test', \Drupal::service('extension.list.module')
->getPath('driver_test'));
}