function UpdateDeprecationTest::setUp

Overrides KernelTestBase::setUp

File

core/tests/Drupal/KernelTests/Core/Extension/UpdateDeprecationTest.php, line 20

Class

UpdateDeprecationTest
Tests deprecated update.inc functions.

Namespace

Drupal\KernelTests\Core\Extension

Code

protected function setUp() : void {
    parent::setUp();
    // Include the legacy update.inc file.
    include_once $this->root . '/core/includes/update.inc';
}

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