You are here

public function UpdateLocalTasksTest::getUpdateReportRoutes in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/update/tests/src/Unit/Menu/UpdateLocalTasksTest.php \Drupal\Tests\update\Unit\Menu\UpdateLocalTasksTest::getUpdateReportRoutes()
  2. 9 core/modules/update/tests/src/Unit/Menu/UpdateLocalTasksTest.php \Drupal\Tests\update\Unit\Menu\UpdateLocalTasksTest::getUpdateReportRoutes()

Provides a list of report routes to test.

File

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

Class

UpdateLocalTasksTest
Tests existence of update local tasks.

Namespace

Drupal\Tests\update\Unit\Menu

Code

public function getUpdateReportRoutes() {
  return [
    [
      'update.status',
    ],
    [
      'update.settings',
    ],
    [
      'update.report_update',
    ],
  ];
}