function InstallerObjectTest::testDbInstallerObject
Same name in other branches
- 8.9.x core/tests/Drupal/Tests/Core/Database/InstallerObjectTest.php \Drupal\Tests\Core\Database\InstallerObjectTest::testDbInstallerObject()
- 10 core/tests/Drupal/Tests/Core/Database/InstallerObjectTest.php \Drupal\Tests\Core\Database\InstallerObjectTest::testDbInstallerObject()
@dataProvider providerDbInstallerObject
File
-
core/
tests/ Drupal/ Tests/ Core/ Database/ InstallerObjectTest.php, line 44
Class
- InstallerObjectTest
- Tests the db_installer_object() function that is used during installation.
Namespace
Drupal\Tests\Core\DatabaseCode
public function testDbInstallerObject($driver, $namespace, $expected_class_name) {
$object = db_installer_object($driver, $namespace);
$this->assertEquals(get_class($object), $expected_class_name);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.