You are here

public function NodeBehaviorSettingsFormTest::testBundleCreationWithFieldUi 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::testBundleCreationWithFieldUi()

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

File

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

Class

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

Namespace

Drupal\Tests\rh_node\Functional

Code

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