function UpdateMiscTest::setUp

Same name in other branches
  1. 11.x core/modules/update/tests/src/Functional/UpdateMiscTest.php \Drupal\Tests\update\Functional\UpdateMiscTest::setUp()

Overrides BrowserTestBase::setUp

File

core/modules/update/tests/src/Functional/UpdateMiscTest.php, line 32

Class

UpdateMiscTest
Tests general functionality of the Update module.

Namespace

Drupal\Tests\update\Functional

Code

protected function setUp() : void {
    parent::setUp();
    $setting = [
        '#all' => [
            'version' => '8.0.0',
        ],
    ];
    $this->config('update_test.settings')
        ->set('system_info', $setting)
        ->save();
    $this->drupalPlaceBlock('local_actions_block');
}

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