public function ExtensionPathResolverTest::testExtensionPathResolvingPath in Drupal 9
Same name and namespace in other branches
- 10 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 43
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'));
}