public function KeyValueContentEntityStorageTest::testUninstall in Drupal 9
Same name and namespace in other branches
- 8 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()
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);
}