You are here

protected function ShortcutLocalTasksTest::setUp in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/shortcut/tests/src/Unit/Menu/ShortcutLocalTasksTest.php \Drupal\Tests\shortcut\Unit\Menu\ShortcutLocalTasksTest::setUp()

Overrides LocalTaskIntegrationTestBase::setUp

File

core/modules/shortcut/tests/src/Unit/Menu/ShortcutLocalTasksTest.php, line 14

Class

ShortcutLocalTasksTest
Tests existence of shortcut local tasks.

Namespace

Drupal\Tests\shortcut\Unit\Menu

Code

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