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