ActionLocalTasksTest.php in Drupal 8
File
core/modules/action/tests/src/Unit/Menu/ActionLocalTasksTest.php
View source
<?php
namespace Drupal\Tests\action\Unit\Menu;
use Drupal\Tests\Core\Menu\LocalTaskIntegrationTestBase;
class ActionLocalTasksTest extends LocalTaskIntegrationTestBase {
protected function setUp() {
$this->directoryList = [
'action' => 'core/modules/action',
];
parent::setUp();
}
public function testActionLocalTasks() {
$this
->assertLocalTasks('entity.action.collection', [
[
'action.admin',
],
]);
}
}