You are here

public function NodeBehaviorSettingsFormTest::testBundleEditWithFieldUi in Rabbit Hole 8

Same name and namespace in other branches
  1. 2.x modules/rh_node/tests/src/Functional/NodeBehaviorSettingsFormTest.php \Drupal\Tests\rh_node\Functional\NodeBehaviorSettingsFormTest::testBundleEditWithFieldUi()

Test that Rabbit Hole settings are created with "Field UI" enabled.

File

modules/rh_node/tests/src/Functional/NodeBehaviorSettingsFormTest.php, line 53

Class

NodeBehaviorSettingsFormTest
Test the functionality of the rabbit hole form additions to the node form.

Namespace

Drupal\Tests\rh_node\Functional

Code

public function testBundleEditWithFieldUi() {
  \Drupal::service('module_installer')
    ->install([
    'field_ui',
  ]);
  $this
    ->testBundleFormFirstSave();
}