You are here

public function UpdateLocalTasksTest::testUpdateThemeLocalTasks in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 72
Contains \Drupal\Tests\update\Unit\Menu\UpdateLocalTasksTest.

Class

UpdateLocalTasksTest
Tests existence of update local tasks.

Namespace

Drupal\Tests\update\Unit\Menu

Code

public function testUpdateThemeLocalTasks($route) {
  $this
    ->assertLocalTasks($route, array(
    0 => array(
      'update.theme_update',
    ),
  ));
}