You are here

public function FieldGroupWithoutFieldUiTest::testLocalActions in Field Group 8.3

Same name and namespace in other branches
  1. 8 tests/src/Functional/FieldGroupWithoutFieldUiTest.php \Drupal\Tests\field_group\Functional\FieldGroupWithoutFieldUiTest::testLocalActions()

Test that local actions show up without field ui enabled.

File

tests/src/Functional/FieldGroupWithoutFieldUiTest.php, line 28

Class

FieldGroupWithoutFieldUiTest
Test field_group without field_ui.

Namespace

Drupal\Tests\field_group\Functional

Code

public function testLocalActions() {

  // Local actions of field_group should not depend on field_ui.
  // @see https://www.drupal.org/node/2719569
  $this
    ->placeBlock('local_actions_block', [
    'id' => 'local_actions_block',
  ]);
  $this
    ->drupalGet(Url::fromRoute('user.login'));
}