public function UpdateLocalTasksTest::testUpdateReportLocalTasks in Drupal 8
Same name and namespace in other branches
- 9 core/modules/update/tests/src/Unit/Menu/UpdateLocalTasksTest.php \Drupal\Tests\update\Unit\Menu\UpdateLocalTasksTest::testUpdateReportLocalTasks()
Checks update report tasks.
@dataProvider getUpdateReportRoutes
File
- core/
modules/ update/ tests/ src/ Unit/ Menu/ UpdateLocalTasksTest.php, line 24
Class
- UpdateLocalTasksTest
- Tests existence of update local tasks.
Namespace
Drupal\Tests\update\Unit\MenuCode
public function testUpdateReportLocalTasks($route) {
$this
->assertLocalTasks($route, [
0 => [
'update.status',
'update.settings',
'update.report_update',
],
]);
}