public function ExtensionListTest::testGetPathnames in Drupal 8
Same name and namespace in other branches
- 9 core/tests/Drupal/Tests/Core/Extension/ExtensionListTest.php \Drupal\Tests\Core\Extension\ExtensionListTest::testGetPathnames()
@covers ::getPathnames
File
- core/
tests/ Drupal/ Tests/ Core/ Extension/ ExtensionListTest.php, line 140
Class
- ExtensionListTest
- @coversDefaultClass \Drupal\Core\Extension\ExtensionList @group Extension
Namespace
Drupal\Tests\Core\ExtensionCode
public function testGetPathnames() {
$test_extension_list = $this
->setupTestExtensionList();
$filenames = $test_extension_list
->getPathnames();
$this
->assertEquals([
'test_name' => 'example/test_name/test_name.info.yml',
], $filenames);
}