DriverSpecificSchemaTestBase.php
Same filename in other branches
Namespace
Drupal\KernelTests\Core\DatabaseFile
-
core/
tests/ Drupal/ KernelTests/ Core/ Database/ DriverSpecificSchemaTestBase.php
View source
<?php
namespace Drupal\KernelTests\Core\Database;
use Drupal\Tests\Core\Database\SchemaIntrospectionTestTrait;
/**
* Tests table creation and modification via the schema API.
*/
abstract class DriverSpecificSchemaTestBase extends DriverSpecificKernelTestBase {
use SchemaIntrospectionTestTrait;
/**
* Database schema instance.
*/
protected $schema;
/**
* {@inheritdoc}
*/
protected function setUp() : void {
parent::setUp();
$this->schema = $this->connection
->schema();
}
}
Classes
Title | Deprecated | Summary |
---|---|---|
DriverSpecificSchemaTestBase | Tests table creation and modification via the schema API. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.