function MenuTreeStorageSchemaUpdateTest::setUp

Overrides BrowserTestBase::setUp

File

core/modules/system/tests/src/Functional/Update/MenuTreeStorageSchemaUpdateTest.php, line 27

Class

MenuTreeStorageSchemaUpdateTest
Tests update of menu tree storage fields.

Namespace

Drupal\Tests\system\Functional\Update

Code

protected function setUp() : void {
    parent::setUp();
    
    /** @var \Drupal\Core\Database\Connection $connection */
    $this->connection = \Drupal::service('database');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.