function SchemaTest::setUp
Overrides KernelTestBase::setUp
File
- 
              core/
tests/ Drupal/ KernelTests/ Core/ Database/ SchemaTest.php, line 48  
Class
- SchemaTest
 - Tests table creation and modification via the schema API.
 
Namespace
Drupal\KernelTests\Core\DatabaseCode
protected function setUp() : void {
  parent::setUp();
  $this->connection = Database::getConnection();
  $this->schema = $this->connection
    ->schema();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.