function DatabaseTest::testFindDriverAutoloadDirectory
Same name in other branches
- 8.9.x core/tests/Drupal/Tests/Core/Database/DatabaseTest.php \Drupal\Tests\Core\Database\DatabaseTest::testFindDriverAutoloadDirectory()
- 10 core/tests/Drupal/Tests/Core/Database/DatabaseTest.php \Drupal\Tests\Core\Database\DatabaseTest::testFindDriverAutoloadDirectory()
@covers ::findDriverAutoloadDirectory @dataProvider providerFindDriverAutoloadDirectory
File
-
core/
tests/ Drupal/ Tests/ Core/ Database/ DatabaseTest.php, line 59
Class
- DatabaseTest
- @coversDefaultClass \Drupal\Core\Database\Database
Namespace
Drupal\Tests\Core\DatabaseCode
public function testFindDriverAutoloadDirectory($expected, $namespace, $include_test_drivers) {
$this->assertSame($expected, Database::findDriverAutoloadDirectory($namespace, $this->root, $include_test_drivers));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.