field_group-8.x-3.1/tests/src/Functional/FieldGroupWithoutFieldUiTest.php

tests/src/Functional/FieldGroupWithoutFieldUiTest.php
<?php

namespace Drupal\Tests\field_group\Functional;

use Drupal\Core\Url;
use Drupal\Tests\BrowserTestBase;

/**
 * Test field_group without field_ui.
 *
 * @group field_group
 */
class FieldGroupWithoutFieldUiTest extends BrowserTestBase {

  /**
   * {@inheritdoc}
   */
  protected static $modules = ['field_group', 'block'];

  /**
   * {@inheritdoc}
   */
  protected $defaultTheme = 'stark';

  /**
   * Test that local actions show up without field ui enabled.
   */
  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'));
  }

}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc