function UpdateLocalTasksTest::setUp

Same name in other branches
  1. 9 core/modules/update/tests/src/Unit/Menu/UpdateLocalTasksTest.php \Drupal\Tests\update\Unit\Menu\UpdateLocalTasksTest::setUp()
  2. 8.9.x core/modules/update/tests/src/Unit/Menu/UpdateLocalTasksTest.php \Drupal\Tests\update\Unit\Menu\UpdateLocalTasksTest::setUp()
  3. 11.x core/modules/update/tests/src/Unit/Menu/UpdateLocalTasksTest.php \Drupal\Tests\update\Unit\Menu\UpdateLocalTasksTest::setUp()

Overrides LocalTaskIntegrationTestBase::setUp

File

core/modules/update/tests/src/Unit/Menu/UpdateLocalTasksTest.php, line 19

Class

UpdateLocalTasksTest
Tests existence of update local tasks.

Namespace

Drupal\Tests\update\Unit\Menu

Code

protected function setUp() : void {
    $this->directoryList = [
        'update' => 'core/modules/update',
    ];
    parent::setUp();
}

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