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