DriverSpecificDatabaseTestBase.php
Same filename in other branches
Namespace
Drupal\KernelTests\Core\DatabaseFile
-
core/
tests/ Drupal/ KernelTests/ Core/ Database/ DriverSpecificDatabaseTestBase.php
View source
<?php
namespace Drupal\KernelTests\Core\Database;
/**
* Base class for driver specific database tests.
*/
abstract class DriverSpecificDatabaseTestBase extends DriverSpecificKernelTestBase {
use DatabaseTestSchemaDataTrait;
use DatabaseTestSchemaInstallTrait;
/**
* {@inheritdoc}
*/
protected static $modules = [
'database_test',
];
/**
* {@inheritdoc}
*/
protected function setUp() : void {
parent::setUp();
$this->installSampleSchema();
$this->addSampleData();
}
}
Classes
Title | Deprecated | Summary |
---|---|---|
DriverSpecificDatabaseTestBase | Base class for driver specific database tests. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.