function DatabaseTest::testFindDriverAutoloadDirectoryException
@covers ::findDriverAutoloadDirectory
@dataProvider providerFindDriverAutoloadDirectoryException
File
-
core/
tests/ Drupal/ Tests/ Core/ Database/ DatabaseTest.php, line 80
Class
- DatabaseTest
- @coversDefaultClass \Drupal\Core\Database\Database[[api-linebreak]]
Namespace
Drupal\Tests\Core\DatabaseCode
public function testFindDriverAutoloadDirectoryException($expected_message, $namespace, $include_tests) {
$this->expectException(\RuntimeException::class);
$this->expectExceptionMessage($expected_message);
Database::findDriverAutoloadDirectory($namespace, $this->root, $include_tests);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.