You are here

private function RabbitHoleBehaviorSettingsTest::deleteTestNodeType in Rabbit Hole 2.x

Same name and namespace in other branches
  1. 8 tests/src/Functional/RabbitHoleBehaviorSettingsTest.php \Drupal\Tests\rabbit_hole\Functional\RabbitHoleBehaviorSettingsTest::deleteTestNodeType()

Helper function to delete the test node type from the database.

1 call to RabbitHoleBehaviorSettingsTest::deleteTestNodeType()
RabbitHoleBehaviorSettingsTest::testBundleSettings in tests/src/Functional/RabbitHoleBehaviorSettingsTest.php
Test that a BehaviourSettings can be given an ID and found later.

File

tests/src/Functional/RabbitHoleBehaviorSettingsTest.php, line 176

Class

RabbitHoleBehaviorSettingsTest
Test the RabbitHoleBehaviorSettings configuration entity functionality.

Namespace

Drupal\Tests\rabbit_hole\Functional

Code

private function deleteTestNodeType() {
  $this->testNodeType
    ->delete();
}