function KeyValueContentEntityStorageTest::testUninstall
Same name in other branches
- 8.9.x core/tests/Drupal/KernelTests/Core/KeyValueStore/KeyValueContentEntityStorageTest.php \Drupal\KernelTests\Core\KeyValueStore\KeyValueContentEntityStorageTest::testUninstall()
- 10 core/tests/Drupal/KernelTests/Core/KeyValueStore/KeyValueContentEntityStorageTest.php \Drupal\KernelTests\Core\KeyValueStore\KeyValueContentEntityStorageTest::testUninstall()
- 11.x core/tests/Drupal/KernelTests/Core/KeyValueStore/KeyValueContentEntityStorageTest.php \Drupal\KernelTests\Core\KeyValueStore\KeyValueContentEntityStorageTest::testUninstall()
Tests uninstallation of a module that does not use the SQL entity storage.
File
-
core/
tests/ Drupal/ KernelTests/ Core/ KeyValueStore/ KeyValueContentEntityStorageTest.php, line 171
Class
- KeyValueContentEntityStorageTest
- Tests KeyValueEntityStorage for content entities.
Namespace
Drupal\KernelTests\Core\KeyValueStoreCode
public function testUninstall() {
$uninstall_validator_reasons = \Drupal::service('content_uninstall_validator')->validate('keyvalue_test');
$this->assertEmpty($uninstall_validator_reasons);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.