public function RabbitHoleBehaviorSettingsTest::testSettings in Rabbit Hole 8
Same name and namespace in other branches
- 2.x tests/src/Functional/RabbitHoleBehaviorSettingsTest.php \Drupal\Tests\rabbit_hole\Functional\RabbitHoleBehaviorSettingsTest::testSettings()
Test that a BehaviorSettings can be found and contains correct values.
Test that a saved BehaviorSettings entity can be found by the config system and contains the correct values.
File
- tests/
src/ Functional/ RabbitHoleBehaviorSettingsTest.php, line 74
Class
- RabbitHoleBehaviorSettingsTest
- Test the RabbitHoleBehaviorSettings configuration entity functionality.
Namespace
Drupal\Tests\rabbit_hole\FunctionalCode
public function testSettings() {
$this
->saveAndTestExpectedValues(self::DEFAULT_ACTION, __METHOD__, self::DEFAULT_TEST_ENTITY_TYPE, $this->testNodeType
->id());
}